0

When I try to create a new React Native project with:

react-native init projectname

and I 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 **
1
  • I am learner react-native .i have setup in MacBook Air. Commented Aug 12, 2019 at 9:52

1 Answer 1

1

This is pod installation issue use below steps

  1. brew insatll cocoapods
  2. cd projectName/ios
  3. pod install
  4. cd .. & react-native run-ios
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.