-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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 10.2 build failed #24376
Comments
It looks like you are using an older version of React Native. Please update to the latest release, v0.59 and verify if the issue still exists. The "Resolution: Old Version" label will be removed automatically once you edit your original post with the results of running `react-native info` on a project using the latest release.
|
i del old project, and react-native init newtest: EnvironmentReact Native Environment Info: Actual Behavior |
What about on macOS 10.14.4? You are listed as macOS 10.14.3 - it worked for me |
Are you using the legacy build system? See #20774 |
RN 0.57.7 and XCode 10.2 if I'm trying to run the app into 12.2 version simulators or devices, then app got crashed with ISSUE LINE -> 0x102eda2f8<+8>: b.lo 0x102eda310 ; <+32> if I'm trying to run into 12.1 version simulators or devices, it works fine. With this (RN 0.57.1 and XCode 10.2) configuration, if I generate IPA, it's only working in 12.1 devices and when it comes to 12.2 devices, app getting the crash on the launch screen with Thread 1: signal SIGABRT. Any suggestions or workarounds to solve this issue? Thanks for that savior. |
you can try my purposes and installed the fix within the node_modules/react-native package. Normally I would prefer not to modify a node_module directly, but under this circumsance, I felt that it was worth it and allowed us to add a simple script in our yarn start script and we get a clean run from a fresh clone. npm install or yarn - install packages |
@MaheshNandam in your case, I'd try updating to RN 0.59 or newer. In general, when building your app using a newer Xcode or against a newer iOS SDK, you'll want to upgrade your RN version as well in order to get the latest fixes, especially when downgrading to the iOS 12.1 SDK seems to help. |
@hramos, you are right, there are few compatibility issues's with newer 10.2 Xcode with RN and I solved it by replacing RCTBridegModule.h file with the latest version of RN. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
🐛 Bug Report
/configure:-1: in `/Users/zhangzhenyang/Documents/practice/test/node_modules/react-native/third-party/glog-0.3.4':
/configure:-1: C compiler cannot create executables
To Reproduce
Actual Behavior
Environment
Environment:
OS: macOS 10.14.3
Node: 11.13.0
Yarn: 1.15.2
npm: 6.7.0
Watchman: 4.9.0
Xcode: Xcode 10.2 Build version 10E125
Android Studio: Not Found
Packages: (wanted => installed)
react: 16.0.0 => 16.0.0
react-native: 0.51.0 => 0.51.0
The text was updated successfully, but these errors were encountered: