Hello,
Some of my colleagues are seeing errors related to the squarereadersdk when building our app on Xcode:
ld: warning: ignoring file /Users/temp/code/myapp/Pods/SquareReaderSDK/SquareReaderSDK.framework/SquareReaderSDK, building for iOS Simulator-x86_64 but attempting to link with file built for unknown-unsupported file format ( 0x76 0x65 0x72 0x73 0x69 0x6F 0x6E 0x20 0x68 0x74 0x74 0x70 0x73 0x3A 0x2F 0x2F )
Undefined symbols for architecture x86_64:
"_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 x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
We’ve been trying for days to fix this. From cloning a brand new project to re-installing cocoapods, playing with the Xcode settings etc.
By the way, we are using the following version: pod 'SquareReaderSDK', '1.4.8'
Any help is appreciated.
Thanks.