Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cordova Xcode build failed "Permission denied"

Tags:

xcode

ios

cordova

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?

like image 249
Daniel Avatar asked Nov 25 '13 18:11

Daniel


1 Answers

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.

like image 63
answerSeeker Avatar answered Oct 03 '22 23:10

answerSeeker