-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Xcode Version: 13.2.1
Was trying running the example on simulator iPhone 12 iOS 15.2
Error Message:
ld: in /Users/LeePo/Downloads/tappay-ios-example-2.13.0/Swift/Direct_Pay/TPDirect_Example/TPDirect_Example/TPDirect.framework/TPDirect(TPDCard.o), building for iOS Simulator, but linking in object file built for iOS, for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Please help for update TPDirect.framework to support arm64 for Apple Silicon, thanks!
Although I checked by command lipo -info
Architectures in the fat file: /Users/LeePo/Downloads/tappay-ios-example-2.13.0/Swift/Direct_Pay/TPDirect_Example/TPDirect_Example/TPDirect.framework/TPDirect are: i386 armv7 x86_64 arm64 armv7s
result contains arm64 and x86_64, still can't running on simulator.
I also create new project and import downloadedUniversal\Device TPDirect.framework 2.13.0, can't run on my M1 MacBook.
Got same error message like beginning.
ld: in /Users/LeePo/Downloads/tappay-ios-example-2.13.0/Swift/Direct_Pay/TPDirect_Example/TPDirect_Example/TPDirect.framework/TPDirect(TPDCard.o), building for iOS Simulator, but linking in object file built for iOS, for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)