【即解決】pod installでCDN: trunk URL couldn't be downloadedエラー
公開日2025.07.23

pod installでエラー
% pod install --repo-update
....
[!] CDN: trunk URL couldn't be downloaded: <https://cdn.cocoapods.org/Specs/0/3/5/Firebase/12.0.0/Firebase.podspec.json> Response: Error in the HTTP2 framing layer
解決方法(pod repo remove trunk)
% pod repo remove trunk
Removing spec repo `trunk`
上記のコマンドを実行で解消。
% pod install --repo-update
Downloading dependencies
...
Generating Pods project
Integrating client project
Pod installation complete! There are 28 dependencies from the Podfile and 53 total pods installed.
参考サイト
https://github.com/CocoaPods/CocoaPods/issues/10356#issuecomment-908896957
Try using below commands:
pod repo remove trunk
and then
pod install or pod update
Or, cocoapods CDN not working due to DNS issues, try adding directly the url that cdn.cocoapods.org redirects to, as a source in the top level of your Podfile:
source '<https://cocoapods-cdn.netlify.app/'
>
Anycloudでは一緒に働くメンバーを募集しています!
Anycloudは、ユーザーの心を動かす体験を届けることを大切にしています。フルリモート・フルフレックスの環境のもと、ライフスタイルに合わせた働き方を実現しながら挑戦したい方を歓迎します。詳細はこちらをご覧ください。