The Zebra SDK for iOS currently does not support running on the iPhone Simulator on M1 Macs:
% lipo -info ./Zebra/lib/libZSDK_API.a
Architectures in the fat file: ./Zebra/lib/libZSDK_API.a are: armv7 i386 x86_64 arm64
If you try to run code using this library on the iPhone Simulator you get this error:
error build: In ../XXXX/External/Zebra/lib/libZSDK_API.a(TcpPrinterConnection.o), building for iOS Simulator, but linking in object file built for iOS, file '../XXXX/External/Zebra/lib/libZSDK_API.a' for architecture arm64
We need an updated library that supports iPhone Simulator on M1 Macs.
0 Replies