开发者

How to temporarily disable a Run Script phase in Xcode

开发者 https://www.devze.com 2022-12-11 21:19 出处:网络
I have a Run Script phase configured for my 开发者_运维问答project\'s target. It is run on every build. Is it possible to temporarily disable this script without removing it from the target?I don\'t k

I have a Run Script phase configured for my 开发者_运维问答project's target. It is run on every build. Is it possible to temporarily disable this script without removing it from the target?


I don't know of any sort of "disabled" state. However, it's a bash script, so you could just add exit 0 at the top while you want it disabled.


Or if it's a single line script you could just add a # at the beginning to comment the statement out.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号