[iOS] [0.68.0-rc.4] 'react/config/ReactNativeConfig.h' file not found
See original GitHub issueDescription
When running the latest RC via iOS using the new architecture, I am running into the following error:
/Users/alex/Documents/Projects/DemoFabricProject/node_modules/react-native/ReactCommon/react/renderer/scheduler/Scheduler.h:14:10: ‘react/config/ReactNativeConfig.h’ file not found
#include <react/config/ReactNativeConfig.h>
Version
0.68.0-rc.4
Output of npx react-native info
System: OS: macOS 12.3 CPU: (12) x64 Intel® Core™ i7-9750H CPU @ 2.60GHz Memory: 1.45 GB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 16.14.2 - /usr/local/bin/node Yarn: 3.2.0 - ~/.yarn/bin/yarn npm: 8.5.0 - /usr/local/bin/npm Watchman: 2022.03.21.00 - /usr/local/bin/watchman Managers: CocoaPods: 1.11.3 - /Users/alex/.rbenv/shims/pod SDKs: iOS SDK: Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5 Android SDK: API Levels: 28, 30, 31, 32 Build Tools: 29.0.2, 30.0.2, 30.0.3, 32.0.0 System Images: android-31 | Google APIs Intel x86 Atom_64, android-31 | Google Play Intel x86 Atom_64, android-32 | Google APIs Intel x86 Atom_64, android-32 | Google Play Intel x86 Atom_64 Android NDK: 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 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: Not Found react-native: Not Found react-native-macos: Not Found npmGlobalPackages: react-native: Not Found
Steps to reproduce
Install project using 0.68.0-rc.4 and follow the steps provided by the upgrade helper.
Snack, code example, screenshot, or link to a repository
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:5
- Comments:26 (6 by maintainers)
Top GitHub Comments
I removed my
ios/build/
andios/Pods/
, rebuilt everything, and it now compiles with RN 0.68.0. @AlexanderEggers have you tried this?I am seeing a similar issue: