https://kotlinlang.org logo
#ios
Title
# ios
p

phldavies

07/20/2020, 10:42 AM
I’m getting
Undefined symbols for architecture arm64
(and x86_64) when attempting to build my project in xcode that depends on
TensorFlowLiteObjC
pod, which itself depends on
TensorFlowLiteC
which is a binary framework, The classes being referred to in the error are part of the
ObjC
wrapper framework which is provided as source. Is there any where I can look to help resolve this? I’ve done a clean
pod install
and cleaned the xcode build directory but I’m still hitting the same issue (for both a real device and for simulator)
s

Sam

07/21/2020, 4:08 AM
Kill Derived Data as well. It’s the one that is typically the problem when all else looks good.
p

phldavies

07/21/2020, 9:55 AM
It turns out this was due to generating a dynamic (
isStatic = false
) framework and the cocoapods plugin seemingly not able to link it. Using
isStatic = true
resolves it for build time (although oddly not when running tests).
203 Views