I'm developing an APP in React Native and I'm trying to run it in the IOS simulator. I've already tried in Android and the project run without problem, but when I try to run it on XCode Simulator trows the following error:
line 3: ../node_modules/react-native/scripts/react-native-xcode.sh: Permission denied
Command PhaseScriptExecution failed with a nonzero exit code
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 IDRUS_RSR.xcworkspace
* BUILD FAILED *
The following build commands failed:
PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images /Users/juanshallcrass/Documents/IDRUS/idrus-rsr/ios/build/IDRUS_RSR/Build/Intermediates.noindex/IDRUS_RSR.build/Debug-iphonesimulator/IDRUS_RSR.build/Script-00DD1BFF1BD5951E006B06BC.sh
(1 failure)
I've already tried changing the Bundle react Native code and images, to: ../node_modules/react-native/scripts/react-native-xcode.sh but nothing changed.
What can I do?