macosfluttercocoapodsfbsdk

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?


Solution

  • 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.