Landry Norris
01/06/2023, 9:29 PMpod("FirebaseAnalytics")
in my build.gradle.kts, I get a missing symbol error when trying to run tests. If I add pod("FirebaseAnalytics")
, I get Compilation failed: Linking globals named 'knifunptr_cocoapods_FirebaseAnalytics0_kFIREventAdImpression_getter': symbol multiply defined!
. Is there a way to tell the cocoapods plugin that I want to pull down the binary, but I don’t care to have the cinterop generated in my module?a-dd
01/06/2023, 9:45 PMtargets.withType<KotlinNativeTarget>().forEach { it.binaries.forEach { it.linkerOpts(
"-U", "missing_symbol_1",
"-U", "missing_symbol_2",
"-U", "missing_symbol_3",
...
) } }
where you list all the missing symbolsa-dd
01/06/2023, 9:50 PMLandry Norris
01/06/2023, 9:53 PMLandry Norris
01/06/2023, 9:58 PMsymbol not found in flat namespace
when I try to run my tests. I’ll have to experiment some more.a-dd
01/06/2023, 10:03 PMa-dd
01/06/2023, 10:06 PMpod("FirebaseAnalytics")
to cocoapods plugin extension (if static linkage works for you of course)kpgalligan
01/09/2023, 6:57 PMkotlin.native.cacheKind.iosX64=none
kotlin.native.cacheKind.iosSimulatorArm64=none
Landry Norris
01/09/2023, 7:02 PM