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
CocoaPods-version.yml couldn't be downloaded #11159
Comments
I just tried something else out, which is to use
Maybe this is the source of the problem and that this lack of SSL connection is why |
Seeing this issue with same versions of pod, curl , and ruby . returns the result min: 1.0.0
|
issue went away , when i dowongraded cocopad , tried running pod install , then uninstalled it , installed the latest then ran pod install . the problem went away ? my feeling is the latest version has some problem with the network and i am basically using the cached version |
same problem |
same problem on MacBook Air m1 |
same problem on M1 |
Same issue for me, 'pod install' get this: |
finnally , I have solved; 1 gem uninstall cocoapods |
Worked for me! Apple M1 |
If you are on Apple M1 |
Also happens when running on Windows and following these instructions to install cURL. Apparently cURL does not find the correct certificates then. |
I found the solution! Beg a coworker with a mac to do this for me. |
I kiss ur a**. that worked for me. this took way to much time xD |
I've the issue on my Mac and despite uninstalling/reinstalling Cocoapods, the issue is still there :/ |
@g123k, I figured it out. Just do the
Then I ran |
I've been googling everywhere! Thank you for this gem @iodev |
Thanks <3 |
thank you for your answer. It solved i problem in my case. is there anyone who can explain why we are experiencing this problem? |
To anyone experiencing this problem, this seems to be an issue with To use the version of ethon with the fix, just add this to your Gemfile:
And then run |
Report
I am trying to run
pod install
orpod update
and it's failing with the error message:[!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/CocoaPods-version.yml Response: URL using bad/illegal format or missing URL
I found #10356 and tried out a lot of the steps that people mentioned worked for them, but nothing worked. From reading through folks' comments, it sounds like lots of people are having intermittent issues connecting to the CDN, where it works sometimes and not others. I've been finding that mine fails 100% of the time. I've tried in a few different days over the course of the last week and it's failed every single time. Also folks in that thread are having issues with the trunk URL unable to be downloaded for various specs, whereas I'm always seeing the failure when trying to download the CocoaPods version yaml file.
What did you do?
Run
pod install
What did you expect to happen?
All dependencies correctly install.
What happened instead?
This was confusing to me, because it really appears like it's a problem with
curl
being able to download the file athttps://cdn.cocoapods.org/CocoaPods-version.yml
. (Looking through the Cocoapods and curl source code, I was able to verify that the error message "URL using bad/illegal format or missing URL" is coming directly from curl.) But then, when I test out using curl directly, it seems to download just fine:I also tried this on two different wireless networks, and the same issue happened on both.
This issues started for me somewhat recently as I moved from an Intel-based MacBook Pro to an M1 one. I'm sure that whatever is going on here is as a result of my local configuration, since you don't have lots of other folks with M1 machines having the same problem, but I've tried all sorts of different things and I just can't get this to work.
CocoaPods Environment
Uhh, running this command doesn't appear to successfully work, either.
But, here's this:
🧡 Thanks so much for the help, and for all of the amazing work that you do! 🧡
The text was updated successfully, but these errors were encountered: