Cordova Xcode 构建失败“权限被拒绝" [英] Cordova Xcode build failed "Permission denied"

查看:42
本文介绍了Cordova Xcode 构建失败“权限被拒绝"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 Xcode 和 Cordova 构建 iOS 应用程序,但是我不断收到此错误消息:

I am trying to build an iOS app using Xcode and Cordova, however I keep getting this error message:

cordova/lib/copy-www-build-step.sh:权限被拒绝

cordova/lib/copy-www-build-step.sh: Permission denied

以前有人解决过这个问题吗?

Has anyone overcome this problem before?

推荐答案

你也可以这样解决

cd platforms/ios/cordova/lib
sudo chmod +x copy-www-build-step.sh

这基本上只给文件执行权限,而不是 chmod 777 给它完全权限(读、写、执行.)对于任何想要澄清区别的人.

This basically gives the file execute permission only instead of chmod 777 which gives it full permission (read, write, execute.) For anyone wanting clarification on what the difference is.

这篇关于Cordova Xcode 构建失败“权限被拒绝"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆