Xcode 6 - Launch simulator from command line

前端 未结 8 1174
执念已碎
执念已碎 2020-11-28 00:20

I want to launch iPhone simulator from command line.

until now I have been using the below command

/Applications/Xcode.app/Contents/Developer

8条回答
  •  猫巷女王i
    2020-11-28 01:06

    For xcode 7:

    open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID

    Get your simulator udid's from xcrun simctl list

提交回复
热议问题