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?
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.
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'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With