-
Notifications
You must be signed in to change notification settings - Fork 594
Crash on iOS 14.5 beta: Attempting to change configurable attribute of unconfigurable property #3557
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
Comments
We are also experiencing this same issue relating to iOS 14.5 beta. Version of Realm and ToolingRealm JS SDK Version: 3.6.3 & 6.1.5 |
Thank you for bringing it to our attention. It looks like a change in iOS 14.5 beta which we have to handle. We need to investigate it (run our tests on iOS 14.5 beta). |
The latest Xcode/iOS beta seem to bring some issues that we need to sort out. |
Thanks @kneth can you provide a rough ETA? |
@kneth is there any update on this? We don't want our live app to crash when iOS 14.5 releases. |
Upgrading to latest version of Realm seems to fix the problem. Can anyone else also confirm this? |
Realm 6 or Realm 10 ? 👀 |
We upgraded from 6 to 10 |
Hi @Hannes-Endare, does the upgrading fix this crash? We have same crash happens on the iOS 14.5 beta and are looking forward to fixing this before the iOS 14.5 formal version release. |
We upgraded realm js to v10.2.0 from 3.6.3, initial testing shows this fixed the issue, the app no longer crashes on iOS 14.5 beta. |
I tried to upgrade realm from v3.2.0 to v10.2.0, but always failed with "missing realm constructor", I searched the related issues and tried all the solutions but still failed with missing realm constructor. The error message is useless, of course we did pod install, RN version is 0.61.5, really upset about this. @lakhman @Hannes-Endare Could you please help with this? What are your migration steps? |
@mrarronz We didn't have any issues upgrading, install realm version 10.2.0, pod install inside ios directory, open xcode - clear all build cache - rebuild, worked first time without any issues. |
@mrarronz make sure you initialise Realm in the correct way. I'm not familiar with 3.2.0 but maybe they changed something in init phase? |
@kneth Do you have any rough estimation when Realm 6 is going to be patched? 😄 Is it going to take days, weeks, or months? |
This issue also appears to have been crashing our app on 14.5 beta. Upgrading to 10.2.0 from 6.x.x was painless and appears to have fixed the crash |
@Frans-L without promising anything specific, this should be a matter of days. |
@steffenagger, Great work getting out a hotfix that quick. I was wondering if this change would apply for older major versions (ie. v2.92)? |
@justindi15 Thank you, and ugh - you're referencing a version that pre-dates my time in Realm :) In general May I flip the question around and ask: what's keeping you from updating? |
FYI that this issue is potentially resolved in ios 14.5 beta 2 |
@bsk26 can you share where you've got this information? The update to WebKit (in beta 1) now handles redefining properties correctly, in regards to the |
This is just from our testing, unfortunately you have more formal information than I do here. The app was crashing on 14.5 beta, I'm fairly certain due to this issue, and doesn't seem to be on the latest beta release. |
That's super interesting findings! Weird, but thanks for sharing @bsk26 👍 We'll at least have it on our radar going forward. |
Uh oh!
There was an error while loading. Please reload this page.
Expected Results
Not to crash.
Actual Results
Crashed on iOS 14.5 beta. All other iOS versions are fine.
If we don't use Realm in JS, then everything is fine. But if we add one line to import Realm:
import Realm from 'realm';
It crashed with the following error: Attempting to change configurable attribute of unconfigurable property.
And crashed when running the following Object.defineProperties() in
lib/extensions.js
of realm-js:Maybe due to some change in iOS 14.5 JavaScript core?
Steps to Reproduce
1.Setup a RN project and import realm-js
2.Run the App on iOS 14.5 beta.
Not sure whether it's related to my RN version (0.59). But it all worked fine until the recently released iOS 14.5 beta.
Tried Relam JS 5.0.5 and 6.1.5, both has the same issue.
Code Sample
import Realm from 'realm';
Version of Realm and Tooling
The text was updated successfully, but these errors were encountered: