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 protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to