-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
React native ios 0.69.1 React-Codegen Build failed. #34126
Comments
Could you try without the |
Hi, I just tried what you suggested, got the exact same result as mentioned above! |
0.69.2 is ok, iOS Deployment Target change to 12.4. #34106 |
@theartificialguy Can you try again on 0.69.2 so we can close this issue? |
Yes, it is working now. Thank you! |
got this issue on RN 0.71.5 after updating XCode. what could be wrong ? |
#34106 (comment) |
@skurgansky-sugarcrm thank you!! it helps for me (but i dont know why it helps...) |
Hey friend, thank you for this. |
it is this issue #34106 (comment) |
I tried this but it gives me the following error |
Thanks, this worked for me 👍🏻 |
Description
I recently created a new project using
npx react-native init myapp --template react-native-template-typescript
, everything is working in android, but when I try to build for iOS, the build fails due to React-Codegen errors specifically inFBReactNativeSpec.h
file. Below is the build error output from xcode:Whole log:
Version
0.69.1
Output of
npx react-native info
System:
OS: macOS 10.15.7
CPU: (4) x64 Intel(R) Core(TM) i5-5350U CPU @ 1.80GHz
Memory: 69.61 MB / 8.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 16.15.1 - /usr/local/bin/node
Yarn: 1.22.19 - /usr/local/bin/yarn
npm: 8.11.0 - /usr/local/bin/npm
Watchman: Not Found
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
Android SDK:
Android NDK: 24.0.8215888
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8609683
Xcode: 12.4/12D4e - /usr/bin/xcodebuild
Languages:
Java: 11.0.15 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.0.0 => 18.0.0
react-native: 0.69.1 => 0.69.1
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
npx react-native init justChat --template react-native-template-typescript
yarn ios
to build the app.It may be possible that this error occurs in
react-native 0.69.1
, I tried to create 2 new projects, got same build errors in both. It's been 3 days since I'm dealing with this issue.So, can anyone help me out here? Thanks!
Snack, code example, screenshot, or link to a repository
The text was updated successfully, but these errors were encountered: