Added Run Script phase to Xcode, but nothing happens

后端 未结 4 570
天涯浪人
天涯浪人 2020-12-13 23:34

I added a Run Script build phase to my Xcode project, the script is just

echo \"Hello\"

I\'m not seing hello in the debug console or anyth

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-13 23:39

    The quickest way that I found is by using the below echo command in my Run Script with "warning:" in it. Xcode threw a warining. Hence confirmed your script is getting executed

    echo "warning: RUN SCRIPT in ACTION"
    

    you also can try echo "error: RUN SCRIPT in ACTION"

提交回复
热议问题