Eury Perez
03/11/2024, 10:58 AMFarhazul Mullick
03/11/2024, 5:54 PMnative-cocoapods
end up installing via swift-pk-managerEury Perez
03/11/2024, 5:57 PMJeff Lockhart
03/11/2024, 9:37 PMGoogleSignIn
to another module, it's no longer linking in the main composeApp
module. You can add:
cocoapods {
pod("GoogleSignIn", linkOnly = true)
}
to the composeApp
build.gradle.kts to have it added to the .podspec without generating C interop in that module.Eury Perez
03/11/2024, 9:47 PMJeff Lockhart
03/11/2024, 9:50 PMEury Perez
03/11/2024, 9:51 PMEury Perez
03/11/2024, 9:52 PMJeff Lockhart
03/11/2024, 9:54 PMEury Perez
03/11/2024, 9:58 PMJeff Lockhart
03/11/2024, 9:59 PMcreate a CMP project using the wizardWas that kmp.jetbrains.com wizard or the KMM plugin in Android Studio?
Eury Perez
03/11/2024, 10:00 PMJeff Lockhart
03/11/2024, 10:01 PMJeff Lockhart
03/11/2024, 10:03 PMJeff Lockhart
03/11/2024, 10:04 PMEury Perez
03/11/2024, 10:05 PMEury Perez
03/11/2024, 10:13 PMJeff Lockhart
03/11/2024, 10:14 PMJeff Lockhart
03/11/2024, 10:14 PMI think this is what you meanYes
Jeff Lockhart
03/11/2024, 10:16 PMEury Perez
03/11/2024, 10:18 PMEury Perez
03/11/2024, 11:22 PMJeff Lockhart
03/11/2024, 11:35 PMnoPodspec()
in the config. You should only need the .podspec for the umbrella module used directly by the iOS app. But you will need to specify any pod dependencies used in other dependency modules in that umbrella module explicitly, as Kotlin Gradle modules don't propagate these CocoaPods dependencies automatically. As I mentioned above, you can use the linkOnly = true
option in the umbrella framework to avoid generating unnecessary C interop, if all you need to do is link the framework.