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
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.
2
Answers
Here are steps that worked for me today:
ios
directory:Podfile.lock
Pods
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 runnpm install
oryarn install
and do the same steps above again.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.