通过命令行将iOS的Xcode APP安装到模拟器中

http://www.jianshu.com/p/8b943269239b

iOS命令

真机安装:

fruitstrap  -b  UCWEB.app/XXX.ipa

模拟器安装:

xcrun simctl install booted

卸载应用(万能法,杀伤力极大,直接重置设备):

The solution that I came up with is to use the command

xcrun simctl erase[device ID]

只是卸载应用(删除设备的安装数据)

rm -rf

~/Library/Developer/CoreSimulator/Devices/

/data/Containers/Data/Application/*

查看设备:

instruemtns -s  devices

更加详细:

The device ID can be obtained from running

xcrun simctl list

你可能感兴趣的:(通过命令行将iOS的Xcode APP安装到模拟器中)