ZSDK_API compiling error

// Expert user has replied.
A Abraham Rangel 3 years 7 months ago
63 1 0

I got problems compiling project with iOS ZSDK it cause this error :
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_EASession", referenced from:
objc-class-ref in libZSDK_API.a(Zebra_EADSessionController.o)
"_OBJC_CLASS_$_EAAccessoryManager", referenced from:
objc-class-ref in libZSDK_API.a(MfiBtPrinterConnection.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I don´t know why this happen, i followed instructions included to add ZSDK_API.a and headers, same steps i did with ZSDKDeveloperDemos and i can run demo without problems.
Any hint or help would be very appreciated.
XCODE 12.1
Objective-C

Please Register or Login to post a reply

1 Replies

S Steven Si

Make sure the Xcode has ExternalAccessory.framework added to the project. The ZSDK_API.a is based on the ExternalAccessory.framework. We will get linker errors if the EA framework is not there.

CONTACT
Can’t find what you’re looking for?