title: dyld: Library not loaded: @rpath/libswiftContacts.dylib
body: <p>dyld: Library not loaded: @rpath/libswift_stdlib_core.dylib</p>
  
  <p>dyld: Library not loaded: @rpath/libswiftCore.dylib. Issue persist</p>
  
  <p>I know that theses question have been answered several times, but <strong>"dyld: Library not loaded: @rpath/libswiftContacts.dylib"</strong> I have not been able to find a proper solution to this error when I am coding a Swift 
  application for XCode 7.2:</p>
  
  <p>Here I use Contact &amp; ContactUI Frameworks:: <strong>@rpath/libswiftContacts.dylib</strong></p>
  
  <pre><code>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
  </code></pre>
  
  <p>I have tried all these actions:</p>
  
  <ul>
  <li>Restarting Xcode, iPhone, computer</li>
  <li>Cleaning &amp; rebuilding</li>
  <li>Revoking and creating new certificate/provision profile</li>
  <li>Runpath Search Paths is '$(inherited) @executable_path/Frameworks'</li>
  <li>Embedded Content Contains Swift Code is 'Yes'</li>
  <li>Code Signing Identity is developer</li>
  <li><p>deleting Xcode's Derived Data directory.</p>
  
  <p>but I have always got the same error...
  <a href="https://i.stack.imgur.com/aPV33.png" rel="noreferrer"><img src="https://i.stack.imgur.com/aPV33.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/INvok.png" rel="noreferrer"><img src="https://i.stack.imgur.com/INvok.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/44c2O.png" rel="noreferrer"><img src="https://i.stack.imgur.com/44c2O.png" alt="enter image description here"></a></p></li>
  </ul>
  
  <p>I tried like this: but i am getting an error like:</p>
  
  <pre><code>/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
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/tHLE4.png" rel="noreferrer"><img src="https://i.stack.imgur.com/tHLE4.png" alt="enter image description here"></a></p>