Search code examples
swiftxcoderealm

Realm issue with Swift 3.1


I've just updated Xcode using Swift 3.1. While waiting for Realm to update their library, just wondering if someone has a temporary workaround for this issue.

Module compiled with Swift 3.0.2 cannot be imported in Swift 3.1: RealmSwift.framework

EDIT:

@matt, @bdash, I followed the instruction, removed the old libraries and added new supporting swift 3.1. I got this error

Showing All Issues Command failed due to signal: Illegal instruction: 4

Any idea?


Solution

  • Realm Swift v2.5.0, released earlier this week, contains a precompiled framework binary for Swift 3.1. No waiting required.