如何解决此错误:生成EACCES-离子Cordova构建iOS

时间:2018-08-01 11:22:20

标签: android ios xcode cordova ionic-framework

imac-de-mac-2:cov mac $离子cordova构建ios

  

ionic-app-scripts构建--target cordova --platform ios   错误:产生EACCES

at exports._errnoException (util.js:1018:11)
at ChildProcess.spawn (internal/child_process.js:319:11)
at Object.exports.spawn (child_process.js:378:9)
at spawn (/usr/local/lib/node_modules/ionic/node_modules/cross-spawn/index.js:17:18)
at spawn (/usr/local/lib/node_modules/ionic/node_modules/@ionic/cli-framework/utils/shell.js:124:12)
at ShellCommand.spawn (/usr/local/lib/node_modules/ionic/node_modules/@ionic/cli-framework/utils/shell.js:113:16)
at ShellCommand.run (/usr/local/lib/node_modules/ionic/node_modules/@ionic/cli-framework/utils/shell.js:80:24)
at Shell.<anonymous> (/usr/local/lib/node_modules/ionic/node_modules/@ionic/cli-utils/lib/shell.js:32:37)
at next (native)
at /usr/local/lib/node_modules/ionic/node_modules/tslib/tslib.js:107:75

1 个答案:

答案 0 :(得分:0)

对于我的第一个答案/评论我很抱歉,我也遇到同样的错误。 现在我想我找到了解决方案:

您必须使用以下命令在App / Project文件夹中设置正确的权限:

chmod -Rv 755 *