Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CDN: trunk Repo update failed - 12 error(s):

Getting error when I tried to update pod,

pod update

Error found,

[!] CDN: trunk Repo update failed - 12 error(s):
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/9/b/5/FBSDKCoreKit/6.1.0-alpha/FBSDKCoreKit.podspec.json Response: Timeout was reached

However, I can access the json path smoothly from my browser.

How to resolve this?

like image 410
Sazzad Hissain Khan Avatar asked Oct 01 '20 12:10

Sazzad Hissain Khan


2 Answers

I have same issue like yours, I fixed it by running:

pod repo remove trunk and then pod install, once these are complete I ran pod update and it updated everything.

like image 117
Rob Avatar answered Sep 30 '22 05:09

Rob


CocoaPods offers the ability to use either git or CDN. CDN is the default but for those who it doesn't work you can always fall back to the previous git-based implementation by adding

To fix add git path on your podfile.

source 'https://github.com/CocoaPods/Specs.git'
like image 25
Paresh Mangukiya Avatar answered Sep 30 '22 05:09

Paresh Mangukiya