CDN: se produce un error de actualización del Repo troncal

Después de ejecutar pod install, recibí el siguiente error:

[!] CDN: trunk Repo update failed - 4 error(s):
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/7/9/Reachability/3.0.0/Reachability.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/7/9/Reachability/3.1.0/Reachability.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/7/9/Reachability/3.1.1/Reachability.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/c/7/9/Reachability/3.2/Reachability.podspec.json Response: Timeout was reached

Solución:

Reemplace a la fuente cdn con la fuente 'https://github.com/CocoaPods/Specs.git'

paso:

1. Agregue la fuente 'https://github.com/CocoaPods/Specs.git' en la parte superior del podfile

2. Ejecute pod repo remove trunk debajo de la terminal para eliminar el maletero

3. Vuelva a instalar la cápsula

Supongo que te gusta

Origin blog.csdn.net/lqw200931116/article/details/125200698
Recomendado
Clasificación