kill iOS Simulator from terminal

后端 未结 5 1994
温柔的废话
温柔的废话 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:02

    Use killall "iPhone Simulator"

    With XCode 6, use killall "iOS Simulator" (thanks @gempewsaw)

    With XCode 7, use killall "Simulator" (thanks @Stanislaw)

    With XCode 8, killing the Simulator process is sometimes not enough, also need to kill process com.apple.CoreSimulator.CoreSimulatorService (thanks @bensnider)

提交回复
热议问题