-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration to XCode7 causes crash #2676
Comments
The Out of interest, is there a reason you're using the Objective-C API from Swift rather than the Swift API directly? |
The initialisation was changed to use RLMRealm(configuration:) and crash has gone. It look like I didn't port initialisation changes properly. We use objective-C api because of legacy code and was quickest way to upgrade it. I embedded swift version and found that some code has to be modified and embedded frameworks are supported for version from 8.0 and on. Our app supports iOS7. Is there a way to use swift realm framework for earlier versions? |
No, Swift frameworks in general are only support on iOS 8 or later. Closing since you've resolve your problem. |
We used realm version 0.90.5 in XCode 6.4 and the models were made in swift. Now project was migrated to XCode7 (swift 2.0).
Model:
When using realm version 0.90.5 application crashed when using default realm:
Then realm was updated to latest version 0.95.3. Everything works fine, except when using existing files from version 0.90.5 with the same model it crashes when trying to create Realm.
Back trace
There is no console log from Realm. Do you have any tip or advice how to proceed. If you need addition data please don't hesitate.
The text was updated successfully, but these errors were encountered: