Skip to content

Instantly share code, notes, and snippets.

@norio-nomura
Last active March 24, 2016 16:31
Show Gist options
  • Save norio-nomura/96201467ffd37c077f7c to your computer and use it in GitHub Desktop.
Save norio-nomura/96201467ffd37c077f7c to your computer and use it in GitHub Desktop.
Fix "dyld: Library not loaded: @rpath/libswiftCore.dylib" on swift-DEVELOPMENT-SNAPSHOT-2016-03-16-a
sudo install_name_tool -add_rpath @executable_path/../lib/swift/macosx /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-03-16-a.xctoolchain/usr/bin/swift-build
sudo install_name_tool -add_rpath @executable_path/../lib/swift/macosx /Library/Developer/Toolchains/swift-DEVELOPMENT-SNAPSHOT-2016-03-16-a.xctoolchain/usr/bin/swift-test
@norio-nomura
Copy link
Author

Updated.

  • Use relative from @executable_path
  • Add swift-test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment