I can't build in Xcode since I upgraded macOS to Catalina.
I get the following error messages:
/node_modules/react-native/React/Views/UIView+React.h:10:9: 'React/RCTComponent.h' file not found
/node_modules/react-native/React/Base/RCTEventDispatcher.h:10:9: 'React/RCTBridge.h' file not found
I tried the following sequence:
rm -rf node_modules
npm run reinstall
npm run iosPods
(doesrm -rf Pods
thenpod install
)npm run start --reset-cache
- Delete Derived Data and do a Xcode Clean build then build
To no avail...
This is the output from react-native info:
System:
OS: macOS 10.15.6
CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
Memory: 910.33 MB / 16.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 8.9.4 - ~/.nvm/versions/node/v8.9.4/bin/node
Yarn: 1.22.4 - ~/.yarn/bin/yarn
npm: 6.14.8 - ~/.nvm/versions/node/v8.9.4/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
Android SDK:
API Levels: 29
Build Tools: 29.0.3
IDEs:
Xcode: 11.3.1/11C505 - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.5 => 0.61.5
npmGlobalPackages:
react-native-cli: 2.0.1