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.
9 Replies
Thank you very much for reporting this. The libZSDK_API.a has not been updated for quite sometime. We will feedback this to the engineering team.
Hello. Has there been any update to this? Our entire team has switched to M1 computers earlier this year. We're currently running XCode with Rosetta, but that isn't maintainable as it's technically an unsupported developer configuration. Thanks.
Is there a solution for this libZSDK_API.a linking problem yet?
Any updates?
Same here . Looking for update.
Please refer to this thread, Link OS SDK for iOS v1.5.1049 doesn't build for iOS Simulator on Apple Silicon, to download the Link-OS SDK for iOS v1.6.1130, which addresses the simulator issue.
Hi, this link is no longer active. Is there currently support for Xcode iOS simulator using Link-OS SDK on M1 macs?
Any updates? we're facing the same issue and the link above is broken. Thank you
I'm having issues as well. It's looks like this request is in high demand.