Swift Command Line Programs that Need Swift Frameworks
Swift Command Line Programs that Need Swift Frameworks
- Subject: Swift Command Line Programs that Need Swift Frameworks
- From: Thomas Wetmore <email@hidden>
- Date: Sat, 03 Oct 2015 15:03:49 -0400
I’m converting my natural language processing engine from an Objective-C static library to a Swift framework, and I just reached the point today that I need to start testing the port.
I naively thought what quicker way would there be to run a test than to put together a two or three line command line program to instantiate some of the important objects to see if they get built correctly. So I created a Swift command line program, but it immediately fails with the following:
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.
Can anyone confirm or contradict this?
Thanks,
Tom Wetmore
_______________________________________________
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