Shell命令之将iOS的APP安装到模拟器中

来源:互联网 发布:led控制软件下载 编辑:程序博客网 时间:2024/05/21 14:49

启动运行模拟器

xcrun instruments -w 'iPhone 6 Plus'

       在已经启动好的模拟器中安装应用:

       xcrun simctl install booted /Users/xiatian/Desktop/ios-app-bootstrap.app (这里要特别注意,是app,不是ipa 安装时需要提供的是APP的文件路径)

卸载APP的命令

xcrun simctl uninstall booted com.xiatian.bootstrap

       卸载时需要写的是bundle identifier。