您的位置:首页 > 运维架构 > Shell

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

2017-07-24 16:18 197 查看

启动运行模拟器

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。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: