I am getting this error when I try to pod repo update and pod install
pod repo update
pod install
CDN: trunk URL couldn\'t be downloaded: https://cdn.cocoa
Tried many solutions from here and there but what worked in my case is:
gem uninstall cocoapods gem cleanup sudo gem install cocoapods -n /usr/local/bin
Hope it works for you!