I'm trying to get a phonegap project building on our Jenkins build server and I'm getting a permission denied error. Keep in mind, this is my first experience with Mac OS X.
The build output in Jenkins is telling me this:
/bin/sh -c \"/Users/Shared/Jenkins/Home/jobs/myMobile\ -\ iOS/workspace/build/TDE.build/Release-iphoneos/TDE.build/Script-304B58A110DAC018002A0835.sh\"
/Users/Shared/Jenkins/Home/jobs/myMobile - iOS/workspace/build/TDE.build/Release-iphoneos/TDE.build/Script-304B58A110DAC018002A0835.sh: line 2: cordova/lib/copy-www-build-step.sh: Permission denied
** BUILD FAILED **
The following build commands failed:
PhaseScriptExecution Copy\ www\ directory build/TDE.build/Release-iphoneos/TDE.build/Script-304B58A110DAC018002A0835.sh
(1 failure)
Build step 'XCode' marked build as failure
Finished: FAILURE
Googling this, I found a SO post saying to run the chmod 755 command on this .sh file, but that still didn't fix anything. What else should I be doing to get this file to be able to execute/copy or whatever it's doing?
Edit: Is my actual permission issue for this file:
line 2: cordova/lib/copy-www-build-step.sh: Permission denied
Or is it the Script-.... file?