Xcode 10.2 'React/RCTBridgeModule.h' file not found
See original GitHub issueTo Reproduce
Just steps in React iOS instructions.
Expected Behavior
Should build first project as expected
Code Example
npm install -g react-native-cli && react-native init AwesomeProject && cd AwesomeProject && react-native run-ios
Then build in Xcode 10.2, and shows error: “‘React/RCTBridgeModule.h’ file not found”
Also tried another another solutions as removing node_models and “yarn”; also changing project build system to “Legacy Build System”, but any of this worked.
Link to my repo: https://github.com/andremvb/TestReact
Help please 😦.
Environment
React Native Environment Info: System: OS: macOS 10.14.4 CPU: (8) x64 Intel® Core™ i7-4850HQ CPU @ 2.30GHz Memory: 265.90 MB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 11.13.0 - /usr/local/bin/node Yarn: 1.15.2 - /usr/local/bin/yarn npm: 6.9.0 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 12.2, macOS 10.14, tvOS 12.2, watchOS 5.2 IDEs: Xcode: 10.2/10E125 - /usr/bin/xcodebuild npmPackages: react: 16.8.3 => 16.8.3 react-native: 0.59.4 => 0.59.4 npmGlobalPackages: react-native-cli: 2.0.1
Issue Analytics
- State:
- Created 4 years ago
- Reactions:10
- Comments:42
I think some problem when config in xcode. I did try reset and it working. In your terminal, run: defaults delete com.apple.dt.Xcode
Getting this same issue using React-Native 0.60.5 and XCode 10.3. I tried the solutions posted above without any luck, anybody have any luck with other methods?