Command failed with EACCES: cordova add ios code example
Example: command failed with EACCES android
chmod 777 platforms/android/gradlew //or another script file causing the issue
cordova build --verbose android //helps identifying the script causing the issue