What is the correct way of using kotlin plugin coc...
# compose-ios
j
What is the correct way of using kotlin plugin cocoapods, such as Firebase or any libs, so I can depend on cocoapods libraries in module A, and then include/export that module A in my shared module B used by iOSApp. Without me need to specify all the deps in section "Link binarywith libraries" in the build phase thing. It must be some link flag or something like isStatic = true somewhere I should use right? Tried isStatic = true on cocoapods framework config, but didnt help. Using that on shared module for sharing resources from Jetbrains, there it works. But seems to be weird when using mutltiple gradle modules depend on each other when expose to iOS later on? I read all the documentation, articles, asked multiple AIs, Google, checked other repos but without any prevail. Any kind of help would be appreciated! 🙂
Example I have this setup:
Copy code
cocoapods {
                version = "1.0"
                name = "core_pods"
                summary = "App CocoaPods"
                homepage = "<https://github.com/JetBrains/kotlin>"

                ios.deploymentTarget = "17.2"

                pod("GoogleSignIn") {
                    version = "7.0.0"
                }
                
                framework { 
                    isStatic = true
                }
            }
But GoogleSignIn is only expose objC headers to iOS app later on, but not the actual source/binaries.