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
Can't use Realm in iOS Simulator while Realm Studio is open; can otherwise #8057
Comments
Update: I downloaded Studio 12.0.0, and it all works as expected — I can keep Studio open and write to the db in iOS Simulator. The package is up-to-date in Xcode, so why should there be such an error? |
Hi @josephmalam Let me understand the questions first. You were not able to modify the realm file while the simulator is open and now you can do it with the new Studio version?. |
Hi @dianaafanador3 , actually I was not able to do it with the latest Studio version. I downgraded to Studio version 12.0.0 and it works normally. |
HI I'm sorry (I was confused about Studio latest version). |
I faced same issue. |
➤ bmunkholm commented: This is awaiting a release with Core13. |
There is a new version of Realm Swift that should work with Realm Studio 13.0.2 |
I am using the latest version of realm swift and realm studio on a new Mac and I have the exact same issue. Can’t open studio at same time as the simulator or it crashes. Realm Studio: 13.0.2 |
The original issue that was closed is still around: Issue duplicated When running in the simulator and then opening a Realm file with Realm Studio, attempting to access that file (read or write) from the project crashes. macOS 12.6.4 Button in UI that writes a Todo Realm Object. Once that's done, open the Realm file with Realm Studio and then try to write another ToDo Object from the XCode project let realm = try! Realm()
|
How frequently does the bug occur?
All the time
Description
I am using Realm in my iOS project, and it works fine when testing in the iOS Simulator (have tried various simulators), as long as Realm Studio is not open. If Realm Studio is open, I get the following error:
Stacktrace & log output
Can you reproduce the bug?
Yes, always
Reproduction Steps
Try to use Realm in iOS project in Simulator with Realm Studio open
Version
RealmDatabase 12.13.0 (updated in XCode)
Realm Studio 13.0.2 (updated)
What SDK flavour are you using?
Local Database only
Are you using encryption?
No, not using encryption
Platform OS and version(s)
macOS 13.0.1 on M1 Pro MBP; XCode 14.1
Build environment
Xcode version: ...
Dependency manager and version: ...
The text was updated successfully, but these errors were encountered: