title: App crashes after installing "AudioKit" with error dyld: Library not loaded: @rpath/libswiftAVFoundation.dylib
body: <p>After installing "AudioKit" using pod, Xcode returns following error and crashes the App.</p>
  
  <pre><code>dyld: Library not loaded: @rpath/libswiftAVFoundation.dylib
  Referenced from: /var/containers/Bundle/Application/62644586-FCA6-43ED-8DCC-488BC1436AD5/myApp.app/myApp
  Reason: image not found
  </code></pre>
  
  <p><strong>Tried solutions:</strong></p>
  
  <ul>
  <li>Clean and build </li>
  <li>Clean derived data</li>
  <li>Runpath Search Paths (LD_RUNPATH_SEARCH_PATHS)
  
  <ul>
  <li>In the example project, these are determined by the cocoapod, but each one is set to $(inherited) @executable_path/Frameworks @loader_path/Frameworks</li>
  </ul></li>
  <li>Dynamic Library Install Name (LD_DYLIB_INSTALL_NAME)
  
  <ul>
  <li>In the example project, this is unchanged from the default $(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(EXECUTABLE_PATH)</li>
  </ul></li>
  <li>Dynamic Library Install Name Base (DYLIB_INSTALL_NAME_BASE)
  
  <ul>
  <li>In the example project, set to @rpath (again determined by the Cocoapod)</li>
  </ul></li>
  <li>Always Embeded Swift Standard Libraries to <strong>TRUE</strong></li>
  <li>Build Phases > Embed Frameworks -> swiftStdLib's</li>
  </ul>