模拟器相关命令

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

模拟器中安装app:

/Applications/Xcode.app/Contents/Developer/usr/bin/simctl install booted demo.app 该demo.app位置处在工程的derivedData文件夹内

xcrun simctl openurl booted taobao://h5.m.taobao.com/guang/index.html 模拟打开app的web页面

xcrun simctl list 列出所有模拟器列表 open -a "Simulator.app" --args -CurrentDeviceUDID "FCE2CFE8-64C3-4DBE-906B-B9BF4180DE49" 命令启动模拟器