I'm using Azure-DevOps Server pipeline to compile an IOS application with an IOS agent (macOS Big Sur) while using Xcpretty for tests and code coverage reports. The Xcpretty not working:
/Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/lib/xcpretty/parser.rb:434:in
===': invalid byte sequence in US-ASCII (ArgumentError) from /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/lib/xcpretty/parser.rb:434:in
update_test_state' from /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/lib/xcpretty/parser.rb:307:inparse' from /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/lib/xcpretty/formatters/formatter.rb:88:in
pretty_format' from /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/lib/xcpretty/printer.rb:19:inpretty_print' from /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:ineach_line' from /Library/Ruby/Gems/2.6.0/gems/xcpretty-0.3.0/bin/xcpretty:83:in
<top (required)>' from /usr/local/bin/xcpretty:23:inload' from /usr/local/bin/xcpretty:23:in
'
Everybody on google says that all I've got to do is to change my locale with the bash command:
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
and it not working, I think that the problem is that this export is per terminal and not global, if I put this command on bash and print "locale" I got: This
If I use the export commands: This
And after opening a new terminal: Again.
Any idea to change it globally?