My steps were:
1) In Xcode, I create a new OS X Swift application for the command line and add their example code for the “Dog class” plus “import RealmSwift” at the top.
2) I add a Podfile with two lines "use_frameworks!" and "pod 'RealmSwift'", and then run pod install.
3) I open the workspace, compile and run. I get this warning:
Swift-stdlib-tool does not work: EMBEDDED_CONTENT_CONTAINS_SWIFT is enabled, but the product type "Command Line Tool" is not a shell type.
And this crash:
dyld: library not loaded: @ rpath / libswiftAppKit.dylib Link to: Reason: image not found
So far, a Google search indicates that the warning and the failure are related. Do you have some ideas?
I am using OS X El Capitan, Xcode 7.2.1, Cocoapods 0.39.0
source share