我知道如何从shell启动IOS模拟器:
open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app
问题: 如何从shell命令启动目标MYAPP_NEWTARGET?像fictitius这样的东西:
open /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --startapp=MYAPP --apptarget=MYAPP_NEWTARGET
答案 0 :(得分:1)
在Simulator.app:
中启动设备后,您可以使用simctl执行此操作xcrun simctl install booted /path/to/your.app
xcrun simctl launch booted your.app.identifier