Quantcast
Channel: How to filter the xcodebuild command line output? - Stack Overflow
Browsing all 13 articles
Browse latest View live

Answer by Fab1n for How to filter the xcodebuild command line output?

You should use xcbeautify with the quiet (warnings and errors) or quieter (only errors) options.Example from their site, adapted to warnings and errors:set -o pipefail && xcodebuild [flags] |...

View Article



Answer by Willian for How to filter the xcodebuild command line output?

if you want to remove warnings usexcodebuild <command> | sed -e '/warning:/,/\^/d'if you want to suppress warnings while using xcpretty try thisxcodebuild <command> \ | sed -e...

View Article

Answer by Alexander Gorbunov for How to filter the xcodebuild command line...

We run detox build command and it threw too many logs in CI.-quite parameter failed with hiding logs.The best solution is to hide and save logs in file:npx detox build -c ios &> detox_build.log

View Article

Answer by andersonvom for How to filter the xcodebuild command line output?

I have been bitten by xcpretty swallowing way too much information in a CI environment, making it pretty hard to debug the error. -quiet hides output in a way that's a bit too aggressive, so I put...

View Article

Answer by Josh Woodcock for How to filter the xcodebuild command line output?

I am building an expo project and there are a lot of warnings that come from libraries which I don't want to see. I was able to filter out the warnings with this command.set -o pipefail \&&...

View Article


Answer by Thi for How to filter the xcodebuild command line output?

There’s a Swift command line tool https://github.com/thii/xcbeautify that can also format xcodebuild output.

View Article

Image may be NSFW.
Clik here to view.

Answer by weijia.wang for How to filter the xcodebuild command line output?

-quiet is the best way to do it at now.

View Article

Answer by Amin Ariana for How to filter the xcodebuild command line output?

Use xcodebuild -quiet.According to the xcodebuild man page:-quiet : Do not print any output except for warnings and errors.Bonus: No other tools necessary! (Although I also like xcodebuild | xcpretty)I...

View Article


Answer by ravron for How to filter the xcodebuild command line output?

I love xcpretty for looking at as a human, but I had a need to find build errors in an automated setting for propagation elsewhere, and I wanted to be sure I captured just the relevant information. The...

View Article


Answer by Koraktor for How to filter the xcodebuild command line output?

There’s a Ruby gem called xcpretty.It filters the output of xcodebuild and also provides different formatters and coloring.UPDATE: As Mike Hardy correctly states in the comments to this answer,...

View Article

Answer by rosejn for How to filter the xcodebuild command line output?

This isn't sufficient for me. Piping to /dev/null will just show you that a build failed, but you don't see the reason(s) why. Ideally we could see just the errors and/or warnings without all of the...

View Article

Answer by Guillaume for How to filter the xcodebuild command line output?

To only see the error output messages, redirect the standard output to /dev/null (a special file that works as a black hole) like this:xcodebuild > /dev/nullIf you want to capture the error output...

View Article

How to filter the xcodebuild command line output?

Running xcodebuild from the console will bring you very verbose output and I wasn't able to locate any options for limit its output in order to display only warnings and errors.I'm looking for a way to...

View Article

Browsing all 13 articles
Browse latest View live




Latest Images