Hey there,
thank you for providing a working SDK for iOS. We successfully managed to get a .NET MAUI app running on iOS using the ZebraIntegratedSdk.dll (Version 1.0.8).
However, during development we often rely on iOS simulators because deploying to physical devices in MAUI can be quite slow. After adding the new ZebraIntegratedSdk.dll, we can no longer build our project for the simulator. The build fails with the following error message:
clang++ exited with code 1:
ld: building for 'iOS-simulator', but linking in object file (/Users/develop/Library/Caches/Xamarin/mtbs/builds/myapp/asdsd3669c1564768f65d9223d573324cd76e2ecf4a98a7309878df519ee0c297/obj/Debug/net8.0-ios/iossimulator-arm64/linker-cache/libintegratedsdk.a[arm64][2](barcode128.o)) built for 'iOS'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
From what I can gather, the root cause seems to be that the integrated SDK is not built with a target for the iOS simulator (arm64). The older Xamarin library worked fine on iOS simulators, but the new MAUI one does not appear to support simulator builds.
Is there a known workaround for this? Developing on simulators is essential for rapid iteration, and the library doesn’t necessarily need to do anything on the simulator— it just shouldn’t block the build.
Thank you in advance for any help or pointers!
Im using .net8.0-ios and Maui with the version 8.0.100. The error doesn't only occur on our app. The poc project for the Version 1.0.8 also fails on building with an ios simulator as target.
with best regards
Christoph
0 Replies