I am using Xcode 12, iOS 14, everything builds correctly, but when I am installed on the device and about to run, I get a message saying "dylib: Library not loaded:"
dyld: Library not loaded: @rpath/Stripe.framework/Stripe
Referenced from: /private/var/containers/Bundle/Application/31B00354-2E1E-4385-8317-5518588873F7/MyApp.app/MyApp
Reason: image not found
dyld: launch, loading dependent libraries
DYLD_LIBRARY_PATH=/usr/lib/system/introspection
DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
I've tried copying the framework via a build phase, but I'm unable to copy the Stripe framework this way. In my targets Frameworks, Libraries and Embedded content
, Stripe is set to Embed & Sign
.
I've deleted derived data, cleaned, killed Xcode, restart computer, tried different iPhone, with different iOS etc. no luck.
Thank you for the help.