Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supression of warnings #36

Closed
jakub-gonet opened this issue May 22, 2020 · 6 comments · Fixed by #37
Closed

Supression of warnings #36

jakub-gonet opened this issue May 22, 2020 · 6 comments · Fixed by #37

Comments

@jakub-gonet
Copy link
Contributor

Hi, thanks for the great project.

One thing I'm missing from it is the warnings suppression - Travis cancel jobs after 4MB of logs and building React Native projects for IOS often generates many warnings for the third party libraries.

Using some flag like --errors-only would be very helpful in that case

@thii
Copy link
Contributor

thii commented May 23, 2020

Have you tried using the --quiet flag?

@jakub-gonet
Copy link
Contributor Author

It filters only warnings and errors, doesn't it? I want to get rid of warnings entirely and keep only errors

@thii
Copy link
Contributor

thii commented May 23, 2020

Use xcodebuild -quiet.

@jakub-gonet
Copy link
Contributor Author

From xcodebuild docs:

     -quiet
           Do not print any output except for warnings and errors.

it does print warnings.

@thii
Copy link
Contributor

thii commented May 24, 2020

Oops, I thought it suppresses warnings.

Quick thoughts — there are two ways you can achieve that:

  • Suppress the warnings yourself. If you use CocoaPods, you can do it via a post-install script.
  • Contribute to this tool by adding a new flag (probably named -quieter). I’ll be more than happy to review it.

@jakub-gonet
Copy link
Contributor Author

I actually ended up using egrep to filter them out.

Thanks for the suggestion, I might try to do it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants