iPad 集成 Reader 时 SquareUp 支付网关问题
SquareUp payment gateway issue while integration Reader for iPad
为 iPad 整合 Square-Up Reader。根据他们在
上提到的文件
https://docs.connect.squareup.com/payments/readersdk/setup-ios
先决条件
要使用 Reader SDK 构建,必须满足以下条件:
您正在使用 Xcode 9.1+
您正在使用 11.1 或更高版本的 iOS Base SDK。
您应用的 部署目标是 iOS 11.0 或更高版本
但是iPad最新的ios版本是9.3.5
我面临的问题是:
每当我按照文档中提到的流程构建项目时,每次都通过错误
.../SquareReaderSDK.framework/SquareReaderSDK, missing required architecture armv7 in file ..../SquareReaderSDK.framework/SquareReaderSDK (2 slices)
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_SQRDReaderSDK", referenced from:
objc-class-ref in Order_Detail_VC.o
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
任何人都可以指导如何解决这个问题。
提前致谢
不幸的是,Reader SDK 至少需要 iOS11。较新的 iPads(第 4 代之后)可以升级到最新的 iOS 版本(目前 12.1 我相信)。如果您的 iPad 是第 4 代或更早版本,它将无法 运行 Reader SDK 应用程序。
请注意,可以在 iOS 10 上达到 运行,这是第 4 代 iPad 能够处理的,但是您需要配置额外的设置:
If you need to support iOS 10, you must restrict your supported architectures to arm64 only:
- Open the Build Settings tab for your target in Xcode.
- Set the Architectures and Valid Architectures values to arm64.
- Open your Info.plist file in Xcode.
- Set UIRequiredDeviceCapabilities to arm64.
Your app will not be able to run on a device that does not support 64-bit code.
可在此处找到更多信息:https://docs.connect.squareup.com/payments/readersdk/setup-ios
为 iPad 整合 Square-Up Reader。根据他们在
上提到的文件https://docs.connect.squareup.com/payments/readersdk/setup-ios
先决条件
要使用 Reader SDK 构建,必须满足以下条件:
您正在使用 Xcode 9.1+ 您正在使用 11.1 或更高版本的 iOS Base SDK。 您应用的 部署目标是 iOS 11.0 或更高版本
但是iPad最新的ios版本是9.3.5
我面临的问题是:
每当我按照文档中提到的流程构建项目时,每次都通过错误
.../SquareReaderSDK.framework/SquareReaderSDK, missing required architecture armv7 in file ..../SquareReaderSDK.framework/SquareReaderSDK (2 slices)
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_SQRDReaderSDK", referenced from:
objc-class-ref in Order_Detail_VC.o
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
任何人都可以指导如何解决这个问题。 提前致谢
不幸的是,Reader SDK 至少需要 iOS11。较新的 iPads(第 4 代之后)可以升级到最新的 iOS 版本(目前 12.1 我相信)。如果您的 iPad 是第 4 代或更早版本,它将无法 运行 Reader SDK 应用程序。
请注意,可以在 iOS 10 上达到 运行,这是第 4 代 iPad 能够处理的,但是您需要配置额外的设置:
If you need to support iOS 10, you must restrict your supported architectures to arm64 only:
- Open the Build Settings tab for your target in Xcode.
- Set the Architectures and Valid Architectures values to arm64.
- Open your Info.plist file in Xcode.
- Set UIRequiredDeviceCapabilities to arm64.
Your app will not be able to run on a device that does not support 64-bit code.
可在此处找到更多信息:https://docs.connect.squareup.com/payments/readersdk/setup-ios