iOS 测试 iOS 测试中常用命令

xinxi · July 28, 2018 · 987 hits

使用命令行安装 ipa

前提是手机在开发者设备列表中

工具安装:sudo  npm install -g ipa-deploy
使用命令:ipa-deploy myapp.ipa

查看 iOS 运行日志

在debug包有用,可以看到一些log信息

工具安装:brew instll libimobiledevice --HEAD
使用命令:idevicesyslog | grep -e ReactNative(关键字)

启模拟器

先查看模拟器列表:xcrun instruments -s
启动某个模拟器:xcrun instruments -w "iPhone 8 (11.2)"

No Reply at the moment.
需要 Sign In 后方可回复, 如果你还没有账号请点击这里 Sign Up