Realm issue : realm/realm-swift#7013
- Launch DemoRealmBug app on your mac an and use "Initialize a new realm db"
- Transfere the realm file to an ios device
- Copy the encryption key
- Launch DemoRealmBug app on your ios device
- Use "Import a realm db" to import your realm file and insert your key
- The app crashes and the error appears in the logs
- You can try to import the same realm db with the same key in the mac app and it will works well
- You can initialize the realm db on ios and import it on mac os and it will works well