After installing Realm Swift, I see the following error when running my test program from within Xcode:
dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /Users/(*****)/Library/Developer/CoreSimulator/Devices/*****/data/Containers/Bundle/Application/*****/My.app/Frameworks/RealmSwift.framework/RealmSwift
Reason: Incompatible library version: RealmSwift requires version 1.0.0 or later, but libswiftCore.dylib provides version 0.0.0
I have tried:
- Cleaning the build folder
- Restarting Xcode
- Enabling the Embedded Content Contains Swift Code build setting.
I am using Xcode 7.2.1 with Swift 2.1.1, and am integrating Realm using its dynamic Framework.