[0.60.0] Fresh install : 'cxxreact/ModuleRegistry.h' file not found #25480
Closed
Description
When running an iOS fresh app with react-native 0.60.0 the build failed with this error:
'cxxreact/ModuleRegistry.h' file not found
macOS Mojave 10.14.5
xCode 10.2.1
React Native version:
react-native-cli: 2.0.1
react-native: 0.60.0
Steps To Reproduce
- react-native init projectname
- open . xcworkspace
- hit run
=> error:
'cxxreact/ModuleRegistry.h' file not found
or
- react-native init projectname
- react-native run-ios
=> error:
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening testproj060.xcworkspace. Run CLI with --verbose flag for more details. ** BUILD FAILED **