SquareReaderSample.app/Frameworks/CorePaymentCard.framework/CorePaymentCard' (no such file),

I am experiencing weird behaviors from ReaderSDK. We are building a sample application using ReaderSDK. When I was downloading the SDK with curl cmd, it worked in the Sample app that is provided by Square Reader on GitHub. However, when I tried the same in my sample app, it threw an error referring to the attached Image.

**dyld[44140]: Library not loaded: @rpath/CorePaymentCard.framework/CorePaymentCard**

**Referenced from: /private/var/containers/Bundle/Application/530DA210-F98E-4FFE-A68B-18BBFFDCB1BF/SquareReaderSample.app/Frameworks/SquareReaderSDK.framework/SquareReaderSDK**

**Reason: tried: '/private/var/containers/Bundle/Application/530DA210-F98E-4FFE-A68B-18BBFFDCB1BF/SquareReaderSample.app/Frameworks/CorePaymentCard.framework/CorePaymentCard' (no such file), '/private/var/containers/Bundle/Application/530DA210-F98E-4FFE-A68B-18BBFFDCB1BF/SquareReaderSample.app/Frameworks/SquareReaderSDK.framework/Frameworks/CorePaymentCard.framework/CorePaymentCard' (code signature in <0C2C4D17-B374-3123-8DD3-BC91B56C8883> '/private/var/containers/Bundle/Application/530DA210-F98E-4FFE-A68B-18BBFFDCB1BF/SquareReaderSample.app/Frameworks/SquareReaderSDK.framework/Frameworks/CorePaymentCard.framework/CorePaymentCard' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/usr/lib/swift/CorePaymentCard.framework/CorePaymentCard' (no such file), '/private/var/containers/Bundle/Application/530DA210-F98E-4FFE-A68B-18BBFFDCB1BF/SquareReaderSample.app/Frameworks/CorePaymentCard.framework/CorePaymentCard' (no such file), '/private/var/containers/Bundle/Application/530DA210-F98E-4FFE-A68B-18BBFFDCB1BF/SquareReaderSample.app/Frameworks/CorePaymentCard.framework/CorePaymentCard' (no such file), '/private/var/containers/Bundle/Application/530DA210-F98E-4FFE-A68B-18BBFFDCB1BF/SquareReaderSample.app/Frameworks/CorePaymentCard.framework/CorePaymentCard' (no such file), '/usr/lib/swift/CorePaymentCard.framework/CorePaymentCard' (no such file), '/private/var/containers/Bundle/Application/530DA210-F98E-4FFE-A68B-18BBFFDCB1BF/SquareReaderSample.app/Frameworks/CorePaymentCard.framework/CorePaymentCard' (no such file), '/private/var/containers/Bundle/Application/530DA210-F98E-4FFE-A68B-18BBFFDCB1BF/SquareReaderSample.app/Frameworks/CorePaymentCard.framework/CorePaymentCard' (no such file), '/private/var/containers/Bundle/Application/530DA210-F98E-4FFE-A68B-18BBFFDCB1BF/SquareReaderSample.app/Frameworks/CorePaymentCard.framework/CorePaymentCard' (no such file), '/System/Library/Frameworks/CorePaymentCard.framework/CorePaymentCard' (no such file)**

Library not loaded: @rpath/CorePaymentCard.framework/CorePaymentCard

Referenced from: /private/var/containers/Bundle/Application/530DA210-F98E-4FFE-A68B-18BBFFDCB1BF/SquareReaderSample.app/Frameworks/SquareReaderSDK.framework/SquareReaderSDK

Reason: tried: '/private/var/containers/Bundle/Application/530DA210-F98E-4FFE-A68B-18BBFFDCB1BF/SquareReaderSample.app/Frameworks/CorePaymentCard.framework/CorePaymentCard' (no such file), '/private/var/containers/Bundle/Application/530DA210-F98E-4FFE-A68B-18BBFFDCB1BF/SquareReaderSample.app/Frameworks/SquareReaderSDK.framework/Frameworks/CorePaymentCard.framework/CorePaymentCard' (code signature in <0C2C4D17-B374-3123-8DD3-BC91B56C8883> '/private/var/containers/Bundle/Application/530DA210-F98E-4FFE-A68B-18BBFFDCB1BF/SquareReaderSample.app/Frameworks/SquareReaderSDK.framework/Frameworks/CorePaymentCard.framework/CorePaymentCard' not valid for use in process: mapped file has no cdhash, completely unsigned? Code has to be at least ad-hoc signed.), '/usr/lib/swift/CoreP

**(lldb)**

Is the framework downloaded with the cURL available in the same directory as your app? :slightly_smiling_face:

Yes, In same directory.
I am getting run time exception.

if required, I can upload my sample app on GitHub and share with you.

Is the framework nested?

Please have a look on this

Did you include a ScriptPhase?