dyld: Library not loaded: @rpath/libswift_stdlib_core.dylib
dyld: Library not loaded: @rpath/libswiftCore.dylib. Issue persist
I know that theses question have been answered several times, but "dyld: Library not loaded: @rpath/libswiftContacts.dylib" I have not been able to find a proper solution to this error when I am coding a Swift application for XCode 7.2:
Here I use Contact & ContactUI Frameworks:: @rpath/libswiftContacts.dylib
dyld: Library not loaded: @rpath/libswiftContacts.dylib
Referenced from: /var/mobile/Containers/Bundle/Application/C0F2B5CB-628C-4643-9473-648D3099D8FB/HomeMadeFood_User.app/HomeMadeFood_User
Reason: image not found
I have tried all these actions:
- Restarting Xcode, iPhone, computer
- Cleaning & rebuilding
- Revoking and creating new certificate/provision profile
- Runpath Search Paths is '$(inherited) @executable_path/Frameworks'
- Embedded Content Contains Swift Code is 'Yes'
- Code Signing Identity is developer
deleting Xcode's Derived Data directory.
I tried like this: but i am getting an error like:
/Users/mac-jarc/Library/Developer/Xcode/DerivedData/HomeMadeFood_User-bmwdevsopruaqxfrbibhaspidobn/Build/Products/Debug- iphoneos/HomeMadeFood_User.app/Frameworks/Contacts.framework: bundle format unrecognized, invalid, or unsuitable
Command /usr/bin/codesign failed with exit code 1