close

[Solved] CDN: trunk URL couldn’t be downloaded: https://cdn.cocoapods.org/CocoaPods-version.yml Response: 403

I am facing the following error in my flutter app CDN: trunk URL couldn’t be downloaded: https://cdn.cocoapods.org/CocoaPods-version.yml Response: 403 in a flutter. So today Here I come with all possible solutions for this error.

We are providing you with all possible solutions to solve this error. let’s start this article without wasting your time.

How CDN: trunk URL couldn’t be downloaded: https://cdn.cocoapods.org/CocoaPods-version.yml Response: 403 Error Occurs?

I am facing the following error in my flutter app.

CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/CocoaPods-version.yml Response: 403

How To Solve CDN: trunk URL couldn’t be downloaded: https://cdn.cocoapods.org/CocoaPods-version.yml Response: 403 Error?

  1. How To Solve CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/CocoaPods-version.yml Response: 403 Error?

    To Solve CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/CocoaPods-version.yml Response: 403 Error Somehow Cloudflare detects CocoaPods traffic as a DDoS attack and that's why this error occurs It is solved now, But In case You Are still facing this error then follow the below steps. Just need to bypass the CDN By running this command. First of all, remove the trunk pod by running this command: pod repo remove trunk And now, Open your Podfile and add this source: source 'https://cocoapods-cdn.netlify.app/' OR source 'https://github.com/CocoaPods/Specs.git' And then pod deintegrate Now, install pods by running this command: pod install Now, your error must be solved.

  2. CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/CocoaPods-version.yml Response: 403

    To Solve CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/CocoaPods-version.yml Response: 403 Error Somehow Cloudflare detects CocoaPods traffic as a DDoS attack and that's why this error occurs It is solved now, But In case You Are still facing this error then follow the below steps. Just need to bypass the CDN By running this command. First of all, remove the trunk pod by running this command: pod repo remove trunk And now, Open your Podfile and add this source: source 'https://cocoapods-cdn.netlify.app/' OR source 'https://github.com/CocoaPods/Specs.git' And then pod deintegrate Now, install pods by running this command: pod install Now, your error must be solved.

Solution 1: Bypass CDN

Somehow Cloudflare detects CocoaPods traffic as a DDoS attack and that’s why this error occurs It is solved now, But In case You Are still facing this error then follow the below steps.

Just need to bypass the CDN By running this command. First of all, remove the trunk pod by running this command.

pod repo remove trunk

And now, Open your Podfile and add this source

source 'https://cocoapods-cdn.netlify.app/'

OR

source 'https://github.com/CocoaPods/Specs.git'

And then

pod deintegrate

Now, install pods by running this command.

pod install

Now, your error must be solved.

Conclusion

So, It’s All About This Error. I hope this tutorial helps you to Solve your error. Please Comment Below if You stucks anywhere with my code. And please comment below on which solution worked for you. Thank You.

Also, Check Out the Below Tutorials

Leave a Comment