Search code examples
iosiphonecocoapodspodfiletrunk

Сocoapods trunk URL couldn't be downloaded


I am getting this error when I try to pod repo update and pod install

CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/deprecated_podspecs.txt, error: Failed to open TCP connection to cdn.cocoapods.org:443 (No route to host - connect(2) for "cdn.cocoapods.org" port 443)

Does somebody know how to fix this problem?


Solution

  • I got it working by using below commands:

    1. pod repo remove trunk
      and then

    2. pod install or pod update