Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

С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?

like image 837
Nik Kov Avatar asked Oct 16 '19 09:10

Nik Kov


1 Answers

I got it working by using below commands:

  1. pod repo remove trunk
    and then

  2. pod install or pod update

like image 154
ankitjaiswal Avatar answered Sep 20 '22 12:09

ankitjaiswal