Thursday, March 7, 2024
HomeiOS Developmentios - use cocoapods with firebaseStorage pod in kmp challenge

ios – use cocoapods with firebaseStorage pod in kmp challenge


I’m making an attempt to construct app with kmp and that i wish to construct android and ios app.
so i’ve tried to implement cocoapods with native.cocoapods in kmp challenge

i’ve efficiently added Google auth and firebase auth pods and applied that performance as properly in to kmp challenge. this issues works completely high-quality

however now downside began when i’ve tried so as to add pod for FirebaseStorage

here’s what i’ve accomplished

cocoapods {
    model = "1.0.0"
    ios.deploymentTarget = "14.1"
    abstract = "Some description for the Shared Module"
    homepage = "Hyperlink to the Shared Module homepage"
    framework {
        baseName = "ComposeApp"
        isStatic = true
    }
    pod("FirebaseStorage"){
        moduleName = "FirebaseStorage"
        extraOpts += listOf("-compiler-option", "-fmodules") // if i do not add this then getting error whereas sync construct that add this traces
    }
    pod("FirebaseAuth")
    pod("GoogleSignIn")
}

extraOpts += listOf("-compiler-option", "-fmodules")
I’ve added this by gradle sync suggestion. if i do not add this traces then sync will get fail
so i’ve added this traces(I do not even know what this line does)

after including above traces gradle sync success however then error began when i construct ios app for debug or launch

The next construct instructions failed:
    Copy /Customers/dhvanilinfotech/Desktop/Multiplatform/TufeeMultiplatform/composeApp/construct/cocoapods/artificial/ios/construct/Launch-iphonesimulator/GTMSessionFetcher/GTMSessionFetcher_Core_Privacy.bundle/GTMSessionFetcher_GTMSessionFetcherCore.bundle /Customers/dhvanilinfotech/Desktop/Multiplatform/TufeeMultiplatform/composeApp/construct/cocoapods/artificial/ios/construct/Launch-iphonesimulator/GTMSessionFetcher/GTMSessionFetcher_GTMSessionFetcherCore.bundle (in goal 'GTMSessionFetcher-GTMSessionFetcher_Core_Privacy' from challenge 'Pods')
    Copy /Customers/dhvanilinfotech/Desktop/Multiplatform/TufeeMultiplatform/composeApp/construct/cocoapods/artificial/ios/construct/Launch-iphonesimulator/GTMSessionFetcher/GTMSessionFetcher_Core_Privacy.bundle/Firebase_FirebaseInAppMessaging_iOS.bundle /Customers/dhvanilinfotech/Desktop/Multiplatform/TufeeMultiplatform/composeApp/construct/cocoapods/artificial/ios/construct/Launch-iphonesimulator/GTMSessionFetcher/Firebase_FirebaseInAppMessaging_iOS.bundle (in goal 'GTMSessionFetcher-GTMSessionFetcher_Core_Privacy' from challenge 'Pods')
    Copy /Customers/dhvanilinfotech/Desktop/Multiplatform/TufeeMultiplatform/composeApp/construct/cocoapods/artificial/ios/construct/Launch-iphonesimulator/GTMSessionFetcher/GTMSessionFetcher_Core_Privacy.bundle/GoogleSignIn_GoogleSignIn.bundle /Customers/dhvanilinfotech/Desktop/Multiplatform/TufeeMultiplatform/composeApp/construct/cocoapods/artificial/ios/construct/Launch-iphonesimulator/GTMSessionFetcher/GoogleSignIn_GoogleSignIn.bundle (in goal 'GTMSessionFetcher-GTMSessionFetcher_Core_Privacy' from challenge 'Pods')
  (3 failures)

i’ve created situation in youtrack to get full construct trash



Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments