question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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 **

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
lizhengjincommented, Nov 6, 2019

i try this same flow but i can’t solve it

0reactions
betopompolocommented, Sep 27, 2019

@dragooncjw you need to execute pod install inside ios/ folder. Did you try that? 🤔

Read more comments on GitHub >

github_iconTop Results From Across the Web

UMModuleRegistryAdapter.h not found when running React ...
It's using React Navigation. I ran npm run ios but I'm getting the following error: info In file included from /Users/rbbit/reactnative ...
Read more >
Installation | React Native Navigation - Open Source
a. If you're seeing an error message in Xcode such as: 'ReactNativeNavigation/ReactNativeNavigation.h' file not found.
Read more >
error failed to build ios project. we ran xcodebuild command but it ...
open the /ios folder in x-code; navigate File -> Project Settings -> Build System -> change (Shared workspace settings and Per-User workspace settings):...
Read more >
react-native-windows/CHANGELOG.md - UNPKG
The CDN for react-native-windows.
Read more >
react-native | Yarn - Package Manager
... Fixed the fallback behavior when the .xcode.env file is missing, ... (f595a4e681); Fix Time.h patch not being applied when running pod install...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found