How can I launch the iOS Simulator from Terminal?

前端 未结 8 685
梦如初夏
梦如初夏 2020-12-07 10:12

I can build using the Xcode command line tools, is there any way I can actually run the application using them? (E.g. the equivalent to pressing Cmd+R in Xcode)

8条回答
  •  孤城傲影
    2020-12-07 11:15

    Open your terminal and paste this code:

    open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app
    

    iOS Simulator Folder Path

提交回复
热议问题