square / in-app-payments-ios

Public repository that hosts the Square In-App Payments SDK iOS binaries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to load `CorePaymentCard` during runtime

slxmmy999 opened this issue · comments

I am very new to Swift/iOS development so I am almost positive this is just user error, though it would be great if someone could point me in the right direction. I have installed the SDK with cocoapods and it seems to be installed correctly however whenever I build and run my application I get the following error:

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

I have tried cleaning my build folder and reinstalling multiple times but it does not work. It seems to be linked correctly too when I check build phases but I am not completely sure.

Xcode 14.2 on 2017 Macbook Pro if that helps.

I forgot to add the build script as specified in step 2 of the installation provided in the README. Simple mistake though hopefully others can learn from this.