I'm currently develop an swift SDK.
When compile the sample with the swift SDK, I got an error
dyld: Library not loaded: @rpath/MyDSK.framework/ODBlockChainWallet
Referenced from: /Users/{}/Sample.app/Sample
Reason: image not found
And if I go on the referenced folder, I can see the swift SDK T_T
Any idea?
I was having this problem and was able to fix it by adding the Swift framework (MySDK.framework) to the "Embedded Binaries" section of the "General" tab of the Xcode project settings. Then deleting the derived data and rebuilding.
Maybe you forgot to add the Copy Files Build Phase in your projects targets with "Framework" as destination
LOP_Luke's solution only half did it for me. After I added my embedded frameworks to the "Embedded Binaries" in the General tab, I had to go to "Build Settings" and check "Embedded Content Contains Swift Code" to YES. By default it is set to NO.
Followed by cleaning and building. Enjoy!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With