-
Notifications
You must be signed in to change notification settings - Fork 24.6k
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
Xcode 16 causing JSCRuntime crash on initialising app #50395
Comments
Tip Newer version available: You are on a supported minor version, but it looks like there's a newer patch available - 0.76.8. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
Warning Missing reproducer: We could not detect a reproducible example in your issue report. Please provide either:
|
Tip Newer version available: You are on a supported minor version, but it looks like there's a newer patch available - undefined. Please upgrade to the highest patch for your minor or latest and verify if the issue persists (alternatively, create a new project and repro the issue in it). If it does not repro, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the most recent releases. |
@rodrigo-nexudus thanks for the issue, but I don't think that this is a problem of Xcode 16. This looks like that the JS bundle is wrong or broken somehow. Are you sure there were no other changes other than Xcode 16?
and report back? |
@cipolleschi thanks for the quick reply! No other changes were made, just installed Xcode 16. Xcode 15 was working without issue, I did the full update to 0.78.1 and had the app working fine on that version, then separately did the Xcode update and encountered this error. I will create a new repo as you suggested and see if I still run into the issue. |
@cipolleschi unfortunately on a new repo I'm running into the same issue other devs have reported, #50168, so I'm not able to see if the issue still manifests, as it happened after bundling. Edit: I'll add the patch for the issue locally and see if I can continue the process. |
@cipolleschi the new repo builds and bundles correctly after adding the patch for the separate issue, but the app in question still has the issue above, even with adding the same patch to that repo. Any other ideas on what might cause this? I will be testing this tomorrow on an actual device, just to ensure that it is not simulator specific, but I'm not sure what else to look at here, considering the app works fine on Xcode 15. |
it is more likely something related to the migration to 0.78.1, in my opinion. |
Description
I've run into this issue as part of updating my Xcode to version 16. App builds and runs fine on previous Xcode version, but after updating I'm getting the following JSCRuntime crash:
There's not much more information on the error, it happens right after building once the packager finishes bundling. I'm using the old architecture. Here's the stack trace from Xcode:
So far I've only tried running this on a few of the simulators on Xcode 16, no actual device as of yet, but regardless this does seem like a bug. If I can provide any more information please let me know, but as the error doesn't itself return much, I'm unsure as to what else I can provide.
Steps to reproduce
Run the RN app on a simulator using Xcode 16 on the old architecture
React Native Version
0.78.1 (also tried 0.76.6)
Affected Platforms
Runtime - iOS
Output of
npx @react-native-community/cli info
Stacktrace or Logs
Reproducer
to follow
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: