Skip to main content

Today while in Terminal, I ran a regular script pod update.  However, this time I received the following error

[!] CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/d/a/2/Alamofire/5.1.0/Alamofire.podspec.json Response: Timeout was reached

I read on GitHub that it could be a cache issue, so I ran:

sudo rm -rf ~/.cocoapods/repo

No change.

Instead of attempting a pod update, I changed the command to pod install.  Worked a treat.  Afterwards, I re-ran the pod update command and the necessary pods were updated without issue.