Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Suppress xcodebuild output or make less verbose [duplicate]

I am building my app in teamcity with xcodebuild command line tools. I am looking for a way to suppress or make the output less verbose but still show errors or failures if they happen. The build log becomes very large and the browser has a hard time loading it.

Are there optional parameters I can pass in or a way to stream it to a log file?

like image 323
Josh Lesch Avatar asked Sep 26 '14 21:09

Josh Lesch


2 Answers

It's not possible. However You can make the log more readable with xctool or xcpretty - not sure the size is also changed. Probably, it is.

like image 195
Opal Avatar answered Nov 11 '22 09:11

Opal


If you use xcpretty https://github.com/supermarin/xcpretty you will have something readable and less verbose, the size will be smaller. It's a great tool, especially if you have unit test. You can take a look to the github they show exemples.

like image 2
Boris Charpentier Avatar answered Nov 11 '22 08:11

Boris Charpentier