Embedded Content Contains Swift Code with Xcode 8 Beta
<p>I am developing a command line macOS application(with Objective-C) which uses other 3rd party Swift libraries. I am retrieving an error says
"<code>dyld: Library not loaded: @rpath/libswiftAppKit.dylib</code>"</p>

<p>Previous answers recommend to set "<strong>Embedded Content Contains Swift Code</strong>" flag to true. However, this flag is missing with Xcode 8 beta. </p>

<p>I have tried "<code>ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES</code>", which i believe a new flag for Xcode 8. It doesn't work either :(</p>

<p>Is anyone tried to compile and execute a command line application with Xcode 8 beta that is;
- developed using Objective-C
- having 3rd party swift library dependencies</p>

<p><strong>Update:</strong></p>

<p>I ended up copying everything under "<strong>/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx</strong>" into the folder where the executable stands. Not a perfect solution but it works. </p>