SquareInAppPaymentsSDK Version 1.6.0 not working

Using cocoapods SquareInAppPaymentsSDK version 1.6.0

The project builds and installs with no issue on physical devices and simulators, project crashes as soon the launch screen goes away. Below is the output from the xcode logs.

I downgraded to version 1.5.8 and had no issues.

please advise

dyld[4489]: Library not loaded: @rpath/CorePaymentCard.framework/CorePaymentCard
Referenced from: <9CBFF902-6672-33E7-A883-8A5A47C75573> /Users/dt/Library/Developer/CoreSimulator/Devices/abc123/data/Containers/Bundle/Application/qwerty123/Project1.app/Frameworks/SquareInAppPaymentsSDK.framework/SquareInAppPaymentsSDK
Reason: tried: ‘/Users/dt/Library/Developer/Xcode/DerivedData/Project1-byzlyabaqbqvfkbhoeeyuvdogmxk/Build/Products/Debug-iphonesimulator/CorePaymentCard.framework/CorePaymentCard’ (errno=2), ‘/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/CorePaymentCard.framework/CorePaymentCard’ (errno=2), ‘/usr/lib/swift/CorePaymentCard.framework/CorePaymentCard’ (errno=2, no dyld cache), ‘/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/CorePaymentCard.framework/CorePaymentCard’ (errno=2), ‘/usr/lib/swift/CorePaymentCard.framework/CorePaymentCard’ (errno=2, no dyld cache), ‘/Users/dt/Library/Developer/CoreSimulator/Devices/abc123/data/Containers/Bundle/Application/qwerty123/Project1.app/Frameworks/CorePaymentCard.framework/CorePaymentCard’ (errno=2), ‘/Users/dt/Library/Developer/CoreSimulator/Devices/abc123/data/Containers/Bundle/Application/qwerty123/Project1.app/Frameworks/CorePaymentCard.framework/CorePaymentCard’ (errno=2), ‘/Users/dt/Library/Developer/CoreSimulator/Devices/abc123/data/Containers/Bundle/Application/qwerty123/Project1.app/Frameworks/CorePaymentCard.framework/CorePaymentCard’ (errno=2), ‘/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/CorePaymentCard.framework/CorePaymentCard’ (errno=2), ‘/usr/lib/swift/CorePaymentCard.framework/CorePaymentCard’ (errno=2, no dyld cache), ‘/Users/dt/Library/Developer/CoreSimulator/Devices/abc123/data/Containers/Bundle/Application/qwerty123/Project1.app/Frameworks/CorePaymentCard.framework/CorePaymentCard’ (errno=2), ‘/Users/dt/Library/Developer/CoreSimulator/Devices/abc123/data/Containers/Bundle/Application/qwerty123/Project1.app/Frameworks/CorePaymentCard.framework/CorePaymentCard’ (errno=2), ‘/Users/dt/Library/Developer/CoreSimulator/Devices/abc123/data/Containers/Bundle/Application/qwerty123/Project1.app/Frameworks/CorePaymentCard.framework/CorePaymentCard’ (errno=2), ‘/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CorePaymentCard.framework/CorePaymentCard’ (errno=2)
Message from debugger: Terminated due to signal 6

Do you have a thread sanitizer enabled? If so does disabling it work? :slightly_smiling_face:

Thank you very much. I have solved the problem.

Can you please share the process? How you solved it? Facing a similar issue.

1 Like

I am also facing the same issue.
Can you please share the solution?

Note: Thread sanitizer is not enabled in scheme.