我正在使用 Azure-DevOps 服务器管道来编译带有 IOS 代理 (macOS Big Sur) 的 IOS 应用程序,同时使用 Xcpretty 进行测试和代码覆盖率报告。Xcpretty 不工作:
Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/lib/xcpretty/parser.rb:434:in ===':来自 /Library/Ruby/ 的 US-ASCII 中的无效字节序列(ArgumentError) Gems/2.6.0/gems/xcpretty-0.3.0/lib/xcpretty/parser.rb:434:in update_test_state' 来自 /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/lib/xcpretty /parser.rb:307:in parse' 来自 /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/lib/xcpretty/formatters/formatter.rb:88:in pretty_format' 来自 /Library/Ruby /Gems/2.6.0/gems/xcpretty-0.3.0/lib/xcpretty/printer.rb:19:in pretty_print' 来自 /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/bin/ xcpretty:84:in block in <top (required)>' from /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/bin/xcpretty:83:in each_line' 来自/Library/Ruby/Gems /2.6.0/gems/xcpretty-0.3.0/bin/xcpretty:83:in <top (required)>' 来自 /usr/local/bin/xcpretty:23:从 /usr/local/bin/xcpretty:23:in 加载'
我正在使用 Azure-DevOps 服务器管道来编译带有 IOS 代理 (macOS Big Sur) 的 IOS 应用程序,同时使用 Xcpretty 进行测试和代码覆盖率报告。Xcpretty 不工作:
/Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/lib/xcpretty/parser.rb:434:in ===':来自 /Library/Ruby 的 US-ASCII 中的无效字节序列(ArgumentError) /Gems/2.6.0/gems/xcpretty-0.3.0/lib/xcpretty/parser.rb:434:in update_test_state' 来自 /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/lib/ xcpretty/parser.rb:307:in parse' 来自 /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/lib/xcpretty/formatters/formatter.rb:88:in pretty_format' 来自 /Library/ Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/lib/xcpretty/printer.rb:19:in pretty_print' 来自 /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/bin /xcpretty:84:in block in <top (required)>' 来自 /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/bin/xcpretty:83:in each_line' 来自 /Library/Ruby/ Gems/2.6.0/gems/xcpretty-0.3.0/bin/xcpretty:83:in <top (required)>' 来自 /usr/local/bin/xcpretty:23:从 /usr/local/bin/xcpretty:23:in 加载'
谷歌上的每个人都说它是关于编码的,但我只是改变了它们:
并且仍然得到同样的错误。
还有什么想法吗?