Skip to content

[0.60.0] Fresh install : 'cxxreact/ModuleRegistry.h' file not found #25480

Closed
@psyzz

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

  1. react-native init projectname
  2. open . xcworkspace
  3. hit run
    => error:
    'cxxreact/ModuleRegistry.h' file not found

or

  1. react-native init projectname
  2. 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 **

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions