facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
119.14k stars 24.32k forks source link

[Fabric][ReactNative 0.68][IOS] Codegen parse error when running build #33593

Closed Alaa-Ben closed 1 year ago

Alaa-Ben commented 2 years ago

Description

Hi ! On IOS, when enabling Fabric, Pod installation goes well. Then, when starting a build, it fails with parsing errors, see screenshot.

Version

0.68.0

Output of npx react-native info

System: OS: macOS 12.3 CPU: (10) x64 Apple M1 Pro Memory: 37.49 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 17.8.0 - ~/.nvm/versions/node/v17.8.0/bin/node Yarn: 1.22.17 - /usr/local/bin/yarn npm: 8.5.5 - ~/.nvm/versions/node/v17.8.0/bin/npm Watchman: 2022.03.14.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.2 - /Users/qucit/.rvm/gems/ruby-2.7.2/bin/pod SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5 Android SDK: Not Found IDEs: Android Studio: 2021.1 AI-211.7628.21.2111.8193401 Xcode: 13.3/13E113 - /usr/bin/xcodebuild Languages: Java: 11.0.14.1 - /Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: 0.68.0 => 0.68.0 react-native-macos: Not Found npmGlobalPackages: react-native: Not Found

Steps to reproduce

Snack, code example, screenshot, or link to a repository

Capture d’écran 2022-04-08 à 09 45 31 Capture d’écran 2022-04-08 à 09 45 56 Capture d’écran 2022-04-08 à 09 46 45

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

cipolleschi commented 1 year ago

Sorry, but we are not supporting 0.68 anymore and Codegen has changed a lot since that version. Please update to a supported version and try again.