What permissions are required for “Run Script” during a build phase?

前端 未结 4 1531
轻奢々
轻奢々 2020-12-29 03:41

In the \"Run Script\" build phase of my project, everything works if I type in the script into the text box for \"run script\" in build phases.

But to make editing /

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-29 04:00

    Put /bin/sh in front of the path to the script name.

    /bin/sh /Users/superman/Documents/Projects/SomeProject/scriptname.sh
    

提交回复
热议问题