Xcode Run script Build Phase “run script only when installing” option

后端 未结 2 1096
一向
一向 2020-12-13 01:44

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?

相关标签:
2条回答
  • 2020-12-13 01:52

    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.

    0 讨论(0)
  • 2020-12-13 02:03

    With Run script only when installing checked, the script only runs when do Product Archive.

    0 讨论(0)
提交回复
热议问题