tappay / tappay-ios-example Goto Github PK
View Code? Open in Web Editor NEWTapPay SDK example code for iOS Platform
TapPay SDK example code for iOS Platform
version 2.3.0
6 App 0x103875790 -[TPDApplePay sendFailure:withMessage:] + 327 (TPDApplePay.m:327)
7 App 0x1038778c0 __77-[TPDApplePay paymentAuthorizationController:didAuthorizePayment:completion:]_block_invoke + 569 (TPDApplePay.m:569)
8 App 0x1038753d8 __58-[TPDApplePay getPrimeWithApplePay:withFraudId:withBlock:]_block_invoke + 302 (TPDApplePay.m:302)
9 App 0x103883058 __78-[TPDApiManager sendTPConnectAPIWithType:withParameter:withCompletionHandler:]_block_invoke + 100 (TPDApiManager.m:100)
10 App 0x10386c25c __88-[TPDNetWork sendRequestWithHttpType:withUrlString:withParameter:withCompletionHandler:]_block_invoke + 64 (TPDNetWork.m:64)
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)
macOS Version 13.4 (Build 22F66)
Xcode 14.3.1 (21815) (Build 14E300c)
Error Message:
System Information
macOS Version 13.4 (Build 22F66)
Xcode 14.3.1 (21815) (Build 14E300c)
Timestamp: 2023-06-11T14:35:52+08:00
for version 2.3.0
lipo -info tappay-ios-example-2.3.0/Swift/Direct_Pay/TPDirect_Example/TPDirect_Example/TPDirect.framework/Versions/A/TPDirect
Architectures in the fat file: tappay-ios-example-2.3.0/Swift/Direct_Pay/TPDirect_Example/TPDirect_Example/TPDirect.framework/Versions/A/TPDirect are: i386 armv7 x86_64 arm64
for version 2.8.0
lipo -info tappay-ios-example-2.8.0/Swift/Line_Pay/TPDLinePay_Example/TPDLinePay_Example/TPDirect.framework/TPDirect
Architectures in the fat file: tappay-ios-example-2.8.0/Swift/Line_Pay/TPDLinePay_Example/TPDLinePay_Example/TPDirect.framework/TPDirect are: armv7 arm64
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.