Reputation: 692
I just started using Realm 2.0.4 yesterday with Xcode 8 and it worked fine. Today I updated to Xcode 8.1 and it no longer will compile. I get an error saying "Module compiled with Swift 3.0 cannot be imported in Swift 3.0.1."
How can I fix this? I have deleted Realm.framework and RealmSwift.framework from the embedded framework table and dropped in the 3.0.1 version, but the issue persists. I have deleted the DerivedData folder and it didn't work.
What do I do? I am not using CocoaPods or Carthage.
Upvotes: 1
Views: 1051
Reputation: 1787
Just for future reference, a bunch of things that you can try:
Product
menu while holding down the Option key, then choose Clean Build Folder...
)Embedded Binaries
and Linked Frameworks and Libraries
project settings.Upvotes: 5