iOS文件编译时间排查

2019-08-20  本文已影响0人  WuZiMaKi

1、安装 xcpretty和 gnomon 并执行
xcodebuild -workspace xxx.xcworkspace -scheme xxxxx -configuration Debug -sdk iphonesimulator | tee xcodebuild.log | xcpretty -f `xcpretty-travis-formatter` | gnomon > log.log
2、排序
sort -n -r -k 1 log.log > sort.txt

上一篇 下一篇

猜你喜欢

热点阅读