[!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/...
CocoaPods couldn’t reach its CDN spec repo — network/proxy issues, rate limiting, or an outdated CocoaPods.
Seen on:
iOS
Meaning
The trunk CDN serves podspecs. Corporate proxies, IPv6 problems, GitHub/CDN outages or very old CocoaPods versions fail to download specs.
Common causes
- Network/proxy blocking cdn.cocoapods.org
- Temporary CDN outage or rate limit
- Old CocoaPods version
- Stale local spec cache
⚡ Quick fix
- Retry with pod install --repo-update
- Update CocoaPods (gem install cocoapods)
- Configure proxy (https_proxy) or switch networks
Detailed fix by platform
Shell
- swift
pod repo remove trunk pod setup pod install --repo-update
How to diagnose
- Network — curl -I https://cdn.cocoapods.org
- Version — pod --version
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
Most viewed in iOS
Other ways to find it
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
Was this page helpful?
Report a correction or suggest an improvement
Last updated 7 Oct 2026