How can I launch the iOS Simulator from Terminal?

前端 未结 8 664
梦如初夏
梦如初夏 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 -a simulator 
    

    it worked for me

    0 讨论(0)
  • 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

    0 讨论(0)
提交回复
热议问题