Swift framework command line

I cannot find a way to create a swift framework that runs at the command line.

I found a page (http://colemancda.github.io/programming/2015/02/12/embedded-swift-frameworks-osx-command-line-tools/) that suggests that this is an Xcode limitation created by Apple. I'm currently running the latest Xcode in Yosemite. Has this been fixed in more recent (beta) versions of Xcode?


For the record, this is the error that comes back


dyld: Library not loaded: @rpath/libswiftAppKit.dylib

Referenced from: /Users/ldm/Library/Developer/Xcode/DerivedData/ObjecticeCP-gpkxbaxnppvxooeoqqgpehxkvobc/Build/Products/Debug/ORFoundation.framework/Versions/A/ORFoundation

Reason: image not found


If I check options within the framework to say that it has embedded swift code, then I get two copies of the AppKit and this causes the application to crash in the most horrendous way.


Any help is greatly appreciated...

I'm also waiting for a fix in this matter!

Swift framework command line
 
 
Q