Fastlane打包配置隐藏log输出

2019-04-11  本文已影响0人  chic_wx

在使用Fastlane打包的时候,有时输出log日志太多,不方便查看问题,也会影响性能,查阅文档,发现可以在命令中配置开启静默模式,具体使用如下
在Fastfile文件中

lane :beta do
    gym(export_method: "enterprise",scheme: "KUApp",silent:true,suppress_xcode_output: true)
end

其中silent表示隐藏所有不必要的log
suppress_xcode_output表示控制台抑制Xcode日志输出,但所有日志会保存到buildlog_path文件中

参考官方文档,https://docs.fastlane.tools/actions/gym/,里面讲的很清楚

上一篇 下一篇

猜你喜欢

热点阅读