M1 Mac/ ARM: SquareReaderSDK for iOS/iPadsOS Xcode Projects to compile on M1 Macs

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.

ruby <(curl https://connect.squareup.com/readersdk-installer) install --app-id $APP_ID --repo-password $REPO_PWD

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?

:wave: 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. :slightly_smiling_face: