skip to Main Content

I have made a react native app for android but i need to run that app on mac so what are the files to transfer. I have transfer ios folder on mac but its not running. Its showing the error ‘React/RCTBridgeDelegate.h’ file not found

this error is showing

my Reactnative code is This i am working on microsoft and its working fine with android studio

But how can i run it on mac using xcode.

2

Answers


  1. Here are steps that worked for me today:

    1. Removed the following inside ios directory:
      • Podfile.lock
      • Pods
    2. Re-installed the pod files:
      • pod install

    I still had the same issue, then I have run the app using Xcode instead of
    running from the terminal.

    If none of the above fixes it, you might also try removing node_modules and run npm install or yarn install and do the same steps above again.

    Login or Signup to reply.
  2. If anyone else has had this problem and none of the solutions worked, make sure you opened "projectName".xcworkspace and not "projectName".xcodeproj with XCode.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search