Skip to content

Instantly share code, notes, and snippets.

@norio-nomura
Last active March 24, 2016 16:31
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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
@subdigital
Copy link

Thanks!

@kjessup
Copy link

kjessup commented Mar 22, 2016

Excellent. Thank you.

@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