Atlas's Blog

xcpretty可能有坑,慎用! 慎用!

Published at 2020-04-23 18:41
xcodebuild的输出日志阅读起来不是太直观,使用xcpretty可以很好的解决这个问题,当然xcpretty在大部分情况下都是没问题,但是当xcodebuild报错出现
Verify final result code for completed build operation
Build operation failed without specifying any errors. Individual build tasks may have failed for unknown reasons.
One possible cause is if there are too many (possibly zombie) processes; in this case, rebooting may fix the problem.
Some individual build task failures (up to 12) may be listed below
类似的错误时候,经过xcpretty处理的报错日志看不到任何报错信息给问题排查带来了很大的麻烦
xcpretty 版本 0.3.0