There is a “run the script only during installation” in the Xcode Run script Build Phase, I can not find the documentation on this. What is he doing?
If you run the script only during installation , the script runs only when the archive of products.
The Xcode Building System Guide (Xcode 3.2.x) says:
Run the script only during installation. The script runs only during installation build, that is, when using the xcodebuild installation option or when configuring the deployment location configuration (DEPLOYMENT_LOCATION) and the Post Processing (DEPLOYMENT_POSTPROCESSING) deployment is enabled.