To integrate SquareReaderSDK into our iOS project, this is how we download and integrate and it compiles/run on Intel Macs and our target devices - iOS/iPadOS as expected.
We are migrating to M1 macs and we see the below errors.
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_SQRDTender", referenced from:
objc-class-ref in SquareService.o
"_OBJC_CLASS_$_SQRDReaderSDK", referenced from:
objc-class-ref in SquareService.o
"_OBJC_CLASS_$_SQRDReaderSettingsController", referenced from:
objc-class-ref in SquareService.o
"_OBJC_CLASS_$_SQRDMoney", referenced from:
objc-class-ref in SquareService.o
"_OBJC_CLASS_$_SQRDCheckoutController", referenced from:
objc-class-ref in SquareService.o
"_OBJC_CLASS_$_SQRDCheckoutParameters", referenced from:
objc-class-ref in SquareService.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Is there a different SDK that targets both Intel and ARM/M1 archs?
Unfortunately at this time M1 support isn’t currently available. We’re constantly working to improve our features based on feedback like this, so I’ll be sure to share your request to the API product team.
M1 MBP does not show my reader (Model: SPC1-01) in the list of available Bluetooth devices when scanned. I believe it should be like any other bluetooth device or just similar to how we connect to iPhone or iPad.
Hey @iamchandra! Are you attempting to connect the Reader directly to your MBP? This topic is about compiling an Xcode project that uses Reader SDK, not connecting the device itself to the Mac. You’ll need to connect the Reader to a mobile device
Sorry about that! I misread and thought the poster above your last reply was the original author.
That change log includes M1 Macs, but only in the context of compiling a project with the Reader SDK framework on M1 Macs. The actual Reader hardware should be connected to a mobile device to test your application.