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/ODBl
Maybe you forgot to add the Copy Files Build Phase in your projects targets with "Framework" as destination
The following has worked for me:
(I suspect, although I cannot prove, that it's really the Clean that fixes this.)
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!
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.