-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
Call to UIApplicationMain casued bad_function_call exception #48865
Comments
Tip Newer version available: You are on a supported minor version, but it looks like there's a newer patch available - 0.76.6. 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. |
My AppDelegate.mm for my project is
|
I got that exact error too, but I did use a RN 0.77 build and tried to load a RN 0.76 bundle. That obviously wouldn't work. I've tried to load a RN 0.77 bundle in the RN 0.77 build and I got the following error:
|
I have upgraded to 0.77.0: 1: Upgraded the package.json to 0.77.0 This now starts correctly. As a result I am closing this report |
Description
I have an RN app that I have upgraded to 0.76.5. It works successfully on Android but fails on iOS. The build fails after displaying the "Powered By React Native" screen. The failure is a bad_function_call exception on UIApplicationMain.
I have tried static and dynamic linkage, and I got the same result in both cases. The Podfile is from the dynamic linked version
the package.json is
Steps to reproduce
1: delete DerivedData, Pods, Podfile.loc, node_models
2: yarn install
3: cd ios; pod install
4: build in Xcode
5: run in Xcode on the simulator
6: "Powered by React Native" is displayed and then the exception is thrown
React Native Version
0.76.5
Affected Platforms
Runtime - iOS
Output of
npx react-native info
Stacktrace or Logs
Reproducer
Can not create reproducer
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: