What permissions are required for “Run Script” during a build phase?
You can simplify your Xcode project file a little further and not require the “bin/sh ” in front of the script name. To avoid this, you need to turn on “execute” permissions for users (Xcode in this case) of the file. Steps Go into terminal Navigate to where your script is run chmod 755 yourScriptName.sh