kill iOS Simulator from terminal

后端 未结 5 1981
温柔的废话
温柔的废话 2021-02-04 05:29

I\'m trying to terminate the iOS Simulator from the terminal console (needed for integrating automatic UI Testing in Jenkins),but every time I try the command:

k         


        
5条回答
  •  北海茫月
    2021-02-04 06:07

    I agree with the answers above. Just wanted to add that I noticed my Jenkins job was failing when there was no simulator to kill. I got around this by adding it like this:

    killall "iOS Simulator" || echo "No matching processes belonging to you were found"
    

    Good luck with your ci!

提交回复
热议问题