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
Validation failing for podspecs with Twitter URLs #10291
Comments
There are two workarounds here, |
We temporarily remove the twitter link for our |
- WARN | url: The URL (https://twitter.com/ElfSundae) is not reachable.
Cocoapods lib linting is throwing a warning on the twitter link used in the Podspec file. Warnings need to be allowed while this issue isn't fixed: CocoaPods/CocoaPods#10291
Just ran into this myself. IMHO having the push command fail because a social media URL fails is too defensive. It could be transient failure, rate limit or what have you, but tat the end of the day, it doesn't compromise how the pod works. Please consider removing that check for the social media URLs. Thanks for all the work in CocoaPods! ❤️ |
Ticket with details: CocoaPods/CocoaPods#10291 Expected CocoaPods release with fixes: 1.10.2
Ticket with details: CocoaPods/CocoaPods#10291 Expected CocoaPods release with fixes: 1.10.2
Ticket with details: CocoaPods/CocoaPods#10291 Expected CocoaPods release with fixes: 1.10.2
I think the reason for this with Twitter specifically is because they seem to do User Agent checks to see if a browser is supported:
If we used a "normal" browser user agent, the Twitter validation should work. Not submitting a PR for this since it's debatable if that's a good idea, just thought I'd mention why this is happening! |
Our CI job validating podspecs started failing yesterday with:
Looked into the history around similar issues like #9049.
curl
with the CocoaPods user agent no longer returns 200. Other/empty user agents didn't help.Twitter recently cut off some basic HTTP GET capabilities, which seems related as this coincides with our CI job failing.
Report
What did you do?
Run
pod lib lint
What did you expect to happen?
Validation to pass, no changes were made recently to the podspec in question.
What happened instead?
Validation fails due to twitter URLs being "not reachable"
CocoaPods Environment
I don't have access to this at the moment, but the CI was using CocoaPods 1.9.3 and then 1.10.0 with no change in behavior.
The text was updated successfully, but these errors were encountered: