Re: Swift Command Line Programs that Need Swift Frameworks
Re: Swift Command Line Programs that Need Swift Frameworks
- Subject: Re: Swift Command Line Programs that Need Swift Frameworks
- From: Jens Alfke <email@hidden>
- Date: Sat, 03 Oct 2015 12:32:51 -0700
On Oct 3, 2015, at 12:03 PM, Thomas Wetmore < email@hidden> wrote:
dyld: Library not loaded: @rpath/libswiftAppKit.dylib Referenced from: /Users/ttw4/Library/Developer/Xcode/DerivedData/LifeLines-aybxjpaancakhdbudfijgqpqpbhi/Build/Products/Debug/DeadEndsKit.framework/Versions/A/DeadEndsKit Reason: image not found
A little research indicates that it may not be possible (yet?) to run Swift command line programs if they require Swift frameworks in order to run.
You could run install_name_tool on your binary to change the path of libswiftAppKit.dylib to the real location; or alternatively set the Runtime Search Paths [sp?] build setting to the directory it’s in. Although if its real location is inside the Xcode bundle, that won’t be very portable.
—Jens |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden