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
Please enter valid encryption key for realm file #4795
Comments
@saham This means that you attempt to open encrypted Realm file, synced Realm file that was produced by Realm Mobile Platform or a corrupted Realm file. If you don't use encryption feature, the file may be corrupted. Could you share more details? Please share your code around using Realm. |
It's a big project but I will share some codes working on realm. I even deleted all realm database files and folders but I still get the same error. How can I find if I am using synced one? Where it is synced to? |
It happened after I used realm swift 3.5.0 ro work with swift 3.1 and Xcode 8.3 |
@saham It figures out. Realm 2.5 introduces new file format. Existing files will automatically be upgraded when they are opened. The Realm browser in AppStore doesn't support the new file format. You can use new version of browser that can be downloaded from GitHub until new version will be passed AppStore review. https://github.com/realm/realm-browser-osx/releases/tag/v2.1.7 |
Problem solved. Thanks a million |
The same thing happened again with the upgrade to the latest version of realm - get the latest realm browser off github: https://github.com/realm/realm-browser-osx/releases/ |
Happened to me as wellon Realm Browser |
@tomkoptel Did you found any solution? |
Happened to me sometimes with |
Happening to be as well, on |
happening to me as well. using 3.0.1 from AppStore |
Happening to me as well, found any solutions? |
solution: |
I am also facing the same issue after updating realm version 5.... |
I just downloaded Realm Studio latest verison 3.11.0. and its working fine. |
Downloaded
Referring to @leofr1cs answer above, eventually I could open .realm file with current To download, go to "Get Started with Realm" section near the bottom of below page and you'll find it: |
i think best solution is just download realm Studio in https://docs.realm.io/sync/realm-studio |
Goals
Open my realm DB
Expected Results
Opens the file as usual
Actual Results
Steps to Reproduce
Just open a realm DB created with Realm-Swift 2.5.0
Code Sample
Version of Realm and Tooling
Realm version: ?
2.1.6
Xcode version: ?
8.3.1
iOS/OSX version: ?
MacOS Sierra 10.12.4
Dependency manager + version: ?
The text was updated successfully, but these errors were encountered: