Skip to content

[ci] Allow warnings during podspec lint check #9428

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jmagman
Copy link
Member

@jmagman jmagman commented Jun 13, 2025

xcode-analyze CI command handles catching code-level warnings. Allow warnings during pod lib lint command since it's redundant and we have fewer knobs to turn there.

See flutter/flutter#170437 (comment)

Pre-Review Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Footnotes

  1. Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. 2 3

@stuartmorgan-g
Copy link
Contributor

Wouldn't this also allow warnings that are podspec-level warnings rather than code-level warnings?

In pratice, if things don't fail CI, people almost never look at the output, so "allow warnings" is, from the standpoint of preventing landing mistakes, essentially equivalent to "don't report warnings at all. I don't know offhand what the scope of things that cocoadpods itself reports as errors vs warnings, so I don't know what non-code-analysis coverage we would lose here.

Do we think this is better than --quick? I would guess it's likely worse, and is definitely going to be more expensive.

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 this pull request may close these issues.

2 participants