Zebra-Printer-Samples icon indicating copy to clipboard operation
Zebra-Printer-Samples copied to clipboard

M1 arm64

Open luluhoc opened this issue 3 years ago • 0 comments

Can you add arm64 lib?

I'm getting when running on m1 mac this error:

/Users/xxxx/Desktop/Zebra-Printer-Samples/ios/Pods/Pods.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.2.99. (in target 'boost-for-react-native' from project 'Pods')
/Users/xxxx/Desktop/Zebra-Printer-Samples/ios/ZSDKRCTDevDemo.xcodeproj: error: The linked library 'libPods-ZSDKRCTDevDemo.a' is missing one or more architectures required by this target: arm64. (in target 'ZSDKRCTDevDemo' from project 'ZSDKRCTDevDemo')

objc[42310]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib (0x1e3eab130) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1087002c8). One of the two will be used. Which one is undefined.
objc[42310]: Class AMSupportURLSession is implemented in both /usr/lib/libamsupport.dylib (0x1e3eab180) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x108700318). One of the two will be used. Which one is undefined.
** BUILD FAILED **

the workaround this is to run xcode through rosetta

luluhoc avatar Jan 20 '22 19:01 luluhoc