title: dyld: Library not loaded: @rpath/libswiftSwiftOnoneSupport.dylib
body: <p>I've built a Swift framework and now I'm trying to start building a Swift iOS application that will use that framework. I'm getting this error:</p>
  
  <pre><code>dyld: Library not loaded: @rpath/libswiftSwiftOnoneSupport.dylib
    Referenced from: /Users/tdean/Library/Developer/Xcode/DerivedData/NFLApplication-ejmafvjrlqgjaabggwvadjarjjlg/Build/Products/Debug-iphonesimulator/NFLStatsModel.framework/NFLStatsModel
    Reason: image not found
  </code></pre>
  
  <p>I've scoured SO and found similar reports and tried the fixes listed there, including:</p>
  
  <ul>
  <li>Clearing out my DerivedData folder</li>
  <li>Restarting Xcode and the iPhone simulator</li>
  <li>Ensuring that <code>Always Embed Swift Standard Libraries = YES</code> is set, both in my framework and my application's build settings</li>
  <li>Ensuring that <code>Enable Bitcode=NO</code> is set, both in my framework and my application's build settings</li>
  <li>Ensuring that <code>Runpath Search Paths</code> is set to <code>@executable_path/Frameworks</code>, both in my framework and my application's build settings</li>
  <li>Copied all the libswift files from my Xcode installation into a local copy within my project, and added a custom build phase to copy those files into the frameworks folder.</li>
  </ul>
  
  <p>In every case, I get the same error when I try to run my application.</p>
  
  <ul>
  <li>Xcode Version 8.1 (8B62)</li>
  <li>Apple Swift version 3.0.1 (swiftlang-800.0.58.6 clang-800.0.42.1)</li>
  </ul>