There is a \"run script only when installing\" option in Xcode Run script Build Phase, I am not able to find documentation on this. What does it do?
In the Xcode Build System Guide (Xcode 3.2.x), it says:
Run script only when installing. Runs the script only during install builds, that is, when using the install option of xcodebuild or when the build settings Deployment Location (DEPLOYMENT_LOCATION) and Deployment Postprocessing (DEPLOYMENT_POSTPROCESSING) are on.
With Run script only when installing checked, the script only runs when do Product Archive.