简体   繁体   English

React-native上XCode 8.3.2上的Shell脚本调用错误

[英]Shell Script Invocation Error on XCode 8.3.2 on React-native

I got this Error When I run my ReactNative App 运行ReactNative应用程序时出现此错误

/Users/GLB-285/Desktop/ReactProjects/DribbleProject/ios/build/Build/Intermediates/React.build/Debug-iphonesimulator/double-conversion.build/Script-190EE32F1E6A43DE00A8543A.sh: line 3: /Users/GLB-285/Desktop/ReactProjects/DribbleProject/node_modules/react-native/scripts/ios-install-third-party.sh: Permission denied**

And In terminal: 而在终端:

child_process.js:495
throw err;
^
Error: spawnSync /Users/GLB-285/Desktop/ReactProjects/DribbleProject/node_modules/react-native/local-cli/setup_env.sh EACCES
at exports._errnoException (util.js:1020:11)
at spawnSync (child_process.js:450:20)
at Object.execFileSync (child_process.js:487:13)
at Object.run (/Users/GLB-285/Desktop/ReactProjects/DribbleProject/node_modules/react-native/local-cli/cliEntry.js:136:16)
at Object.<anonymous> (/usr/local/lib/node_modules/react-native-cli/index.js:117:7)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
  1. Clean ~/.rncache folder. 清理〜/ .rncache文件夹。

  2. Download 4 third party library by manual or 通过手册下载4个第三方库

Re-run the react-native run-ios command and wait to print 重新运行react-native run-ios命令并等待打印

curl: Saved to filename message. 

You should check 100% Received status.

Never press the ctrl+c on build phase. 切勿在构建阶段按ctrl + c。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM