Last active
March 24, 2016 16:31
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Excellent. Thank you.
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
Thanks!