XCode 11 Beta App Launch Crash
See original GitHub issueReact Native version: “react”: “16.8.3”, “react-native”: “0.59.8”
No other dependency added.
Steps To Reproduce
- Create a fresh project with react-native init ProjectName
- Open iOS project in XCode 11 beta & run your project.
- npm start
- App crash with -
Unknown argument type ‘attribute’ in method -[RCTAppState getCurrentAppState:error:]. Extend RCTConvert to support this type.
Error Log from XCode -
Exception ‘*** -[__NSArrayM objectAtIndexedSubscript:]: index 1 beyond bounds [0 … 0]’ was thrown while invoking getCurrentAppState on target AppState with params ( 2, 3 )
Describe what you expected to happen: App should not get crash.
Snack, code example, or link to a repository:
Adding a screenshot for more clarification below.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:69
- Comments:25 (1 by maintainers)
Top Results From Across the Web
Xcode 11 beta 4 crashes on startup… | Apple Developer Forums
After update the Xcode 11 to beta 4, I can't to start it. All time I try it chases. I am using Catalina...
Read more >Xcode 14 beta 5 cause crash on working app - Stack Overflow
We have been trying to run our app to prepare for iOS 16 but so far no luck. The app runs perfectly in...
Read more >App distributed via TestFlight crashes on launch - Using Swift
The app runs fine in the simulator and on a device when launched directly from Xcode. When installed via TestFlight, the app crashes...
Read more >Firebase Apple SDK Release Notes - Google
Fixed rare crash on launch due to out-of-bounds exception in FirebaseCore (#10025). Cloud Firestore. Fixed a crash during app start (#9985, #10018).
Read more >App Center Crashes for iOS - Microsoft Learn
Collecting crashes works for both beta and live apps, i.e. those submitted to ... you can check if the app crashed in the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
in your project directory, open file in myproject/node_modules/react-native/React/Base/RCTModuleMethod.mm. Then correct as below: https://github.com/facebook/react-native/pull/25146/files#diff-263fc157dfce55895cdc16495b55d190
I solved the issue by upgrading react-native to 0.59.9 version.