Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
543 views
in Technique[技术] by (71.8m points)

ios - Cordova Xcode build failed "Permission denied"

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: Permission denied

Has anyone overcome this problem before?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You can fix it like this also

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

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

56.9k users

...