I’m getting `Undefined symbols for architecture ar...
# ios
p
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
Kill Derived Data as well. It’s the one that is typically the problem when all else looks good.
p
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).
271 Views