dyld: Library not loaded: @rpath/MyDSK.framework/MyDSK -> SWIFT iOS 8.0 dyld: Library not loaded: @rpath/MyDSK.framework/MyDSK -> SWIFT iOS 8.0 ios ios

dyld: Library not loaded: @rpath/MyDSK.framework/MyDSK -> SWIFT iOS 8.0


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!


matomo