1.查看模拟器的udid用的
xcrun instruments -s
xcrun simctl list
2.启动这个模拟器:
xcrun instruments -w 'B39EC2FF-8A8B-4BFF-AFA4-7875904A9EB8'
3.在这个模拟器安装路径下的APP
xcrun simctl install B39EC2FF-8A8B-4BFF-AFA4-7875904A9EB8 /Users/brian/Desktop/TPPortal.app
4.卸载这个模拟器中的APP
xcrun simctl uninstall B39EC2FF-8A8B-4BFF-AFA4-7875904A9EB8 com.cntaiping.portalQingyunTest
5、启动模拟器上的APP
xcrun simctl launch B39EC2FF-8A8B-4BFF-AFA4-7875904A9EB8 com.cntaiping.portalQingyunTest
6.不启动 Xcode 该如何开启 iOS 模拟器?
/Applications/Xcode.app/Contents/Developer/Applications/Simulator
7.ios app 包查看包名(Bundle identifier)
打开plist编辑器,open打开解压后的安装包中的info.plist文件 ,查看plist中的Bundle identifier。