Command line apps cannot link to 3rd party Swift frameworks
Due to the manner in which the Swift runtime and frameworks are linked into app bundles, command line apps are excluded from using 3rd party frameworks.
This seriously limit the composability of apps, and limits the use of frameworks for which you don't have the source code.
Steps to Reproduce:
1. Create a new Command line app in Xcode
2. Create a new project for a Swift framework in the same workspace
3. Link to the framework from the command line app and build it
I expect the app to be correctly linked an run
"<unknown>:0: error: could not build Objective-C module 'MyFramework'"
Xcode 6.2 (6C131e), OSX 10.10.1 (14B25)
Reports posted here will not necessarily be seen by Apple.
All problems should be submitted at bugreport.apple.com before they are posted here.
Please only post information for Radars that you have filed yourself, and please do
not include Apple confidential information in your posts. Thank you!