phldavies
07/20/2020, 4:31 PMTensorFlowLiteC and/or TensorFlowLiteObjC from my iosMain but when I build in XCode it always complains about undefined symbols when linking. For example, adding pod("TensorFlowLiteC") to the KaMPKit Starter and adding println(TfLiteVersion().toKString()) to the initKoin {} block in KoiniOS.kt results in
Showing All Messages
Undefined symbols for architecture x86_64:
"_TfLiteVersion", referenced from:
_cocoapods_TensorFlowLiteC_TfLiteVersion_wrapper17 in result.o
ld: symbol(s) not found for architecture x86_64
when building in XCode (from the gradle output)
I’m stumped as to what to look into next.russhwolf
07/20/2020, 4:34 PMphldavies
07/20/2020, 4:37 PMrusshwolf
07/20/2020, 4:39 PMphldavies
07/20/2020, 4:47 PMrusshwolf
07/20/2020, 4:51 PMrusshwolf
07/20/2020, 4:52 PMphldavies
07/20/2020, 4:54 PMrusshwolf
07/20/2020, 5:03 PMphldavies
07/20/2020, 5:30 PMisStatic = true, it fails in the same way when linking tests for iosTest (when running with kotlin.native.cocoapods.* properties configured as in XCode build).russhwolf
07/20/2020, 5:32 PMphldavies
07/20/2020, 5:38 PMphldavies
07/20/2020, 5:42 PMphldavies
07/20/2020, 5:47 PMkotlin.native.cocoapods.paths.frameworks set as set by XCode, and the call to the pod in iosMain , linkDebugFrameworkIos succeeds, but linkDebugTestIos fails to link when a test includes a call to the iosMain code that calls the pod.Paul Idstein
07/23/2020, 6:50 AM