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

前端之家收集整理的这篇文章主要介绍了Shell命令之将iOS的APP安装到模拟器中前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

启动运行模拟器

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。

原文链接:https://www.f2er.com/bash/391867.html

猜你在找的Bash相关文章