Code Monkey home page Code Monkey logo

tappay-ios-example's People

Contributors

cherri-tech avatar isme-cherri avatar josephliao1991 avatar kaojiaqi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tappay-ios-example's Issues

Problem when building TPDirect_Example on M1 MacBook.

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)

Crash issue on version 2.3.0

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)

Please support are: i386 armv7 x86_64 arm64 for simulator.

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

Unable to install (AppName)

macOS Version 13.4 (Build 22F66)
Xcode 14.3.1 (21815) (Build 14E300c)

Error Message:

Unable to install "Q-Watt"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620375
User Info: {
DVTErrorCreationDateKey = "2023-06-11 06:35:52 +0000";
IDERunOperationFailingWorker = IDEInstalliPhoneLauncher;
}

The code signature version is no longer supported.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620375
User Info: {
DVTRadarComponentKey = 487925;
MobileDeviceErrorCode = "(0xE8008029)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x000000010df14b1c DTDKCreateNSErrorFromAMDErrorCode + 300
1 DTDeviceKitBase 0x000000010df49000 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 136
2 DVTFoundation 0x0000000103dbb480 DVTInvokeWithStrongOwnership + 76
3 DTDeviceKitBase 0x000000010df48d7c -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1208
4 IDEiOSSupportCore 0x000000010d647c00 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.147 + 2340
5 DVTFoundation 0x0000000103ec5de0 DVT_CALLING_CLIENT_BLOCK + 16
6 DVTFoundation 0x0000000103ec684c __DVTDispatchAsync_block_invoke + 152
7 libdispatch.dylib 0x0000000185d7e874 _dispatch_call_block_and_release + 32
8 libdispatch.dylib 0x0000000185d80400 _dispatch_client_callout + 20
9 libdispatch.dylib 0x0000000185d87a88 _dispatch_lane_serial_drain + 668
10 libdispatch.dylib 0x0000000185d885f8 _dispatch_lane_invoke + 384
11 libdispatch.dylib 0x0000000185d93244 _dispatch_workloop_worker_thread + 648
12 libsystem_pthread.dylib 0x0000000185f2c074 _pthread_wqthread + 288
13 libsystem_pthread.dylib 0x0000000185f2ad94 start_wqthread + 8
);
}

Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {
"device_model" = "iPhone12,8";
"device_osBuild" = "16.5 (20F66)";
"device_platform" = "com.apple.platform.iphoneos";
"launchSession_schemeCommand" = Run;
"launchSession_state" = 1;
"launchSession_targetArch" = arm64;
"operation_duration_ms" = 5057;
"operation_errorCode" = "-402620375";
"operation_errorDomain" = "com.apple.dt.MobileDeviceErrorDomain";
"operation_errorWorker" = IDEInstalliPhoneLauncher;
"operation_name" = IDEiPhoneRunOperationWorkerGroup;
"param_consoleMode" = 0;
"param_debugger_attachToExtensions" = 0;
"param_debugger_attachToXPC" = 1;
"param_debugger_type" = 5;
"param_destination_isProxy" = 0;
"param_destination_platform" = "com.apple.platform.iphoneos";
"param_diag_MainThreadChecker_stopOnIssue" = 0;
"param_diag_MallocStackLogging_enableDuringAttach" = 0;
"param_diag_MallocStackLogging_enableForXPC" = 1;
"param_diag_allowLocationSimulation" = 1;
"param_diag_checker_tpc_enable" = 1;
"param_diag_gpu_frameCapture_enable" = 0;
"param_diag_gpu_shaderValidation_enable" = 0;
"param_diag_gpu_validation_enable" = 0;
"param_diag_memoryGraphOnResourceException" = 0;
"param_diag_queueDebugging_enable" = 1;
"param_diag_runtimeProfile_generate" = 0;
"param_diag_sanitizer_asan_enable" = 0;
"param_diag_sanitizer_tsan_enable" = 0;
"param_diag_sanitizer_tsan_stopOnIssue" = 0;
"param_diag_sanitizer_ubsan_stopOnIssue" = 0;
"param_diag_showNonLocalizedStrings" = 0;
"param_diag_viewDebugging_enabled" = 1;
"param_diag_viewDebugging_insertDylibOnLaunch" = 1;
"param_install_style" = 0;
"param_launcher_UID" = 2;
"param_launcher_allowDeviceSensorReplayData" = 0;
"param_launcher_kind" = 0;
"param_launcher_style" = 0;
"param_launcher_substyle" = 0;
"param_runnable_appExtensionHostRunMode" = 0;
"param_runnable_productType" = "com.apple.product-type.application";
"param_testing_launchedForTesting" = 0;
"param_testing_suppressSimulatorApp" = 0;
"param_testing_usingCLI" = 0;
"sdk_canonicalName" = "iphoneos16.4";
"sdk_osVersion" = "16.4";
"sdk_variant" = iphoneos;
}

System Information

macOS Version 13.4 (Build 22F66)
Xcode 14.3.1 (21815) (Build 14E300c)
Timestamp: 2023-06-11T14:35:52+08:00

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.