CDN: trunk Repo update failed - 27 error(s): CDN: trunk URL couldn‘t be downloaded:

[!] CDN: trunk Repo update failed - 27 error(s):
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/a/a/4/Masonry/0.0.2/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/a/a/4/Masonry/0.0.3/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/a/a/4/Masonry/0.1.0/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/a/a/4/Masonry/0.1.5/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/a/a/4/Masonry/0.1.6/Masonry.podspec.json Response: Couldn't connect to server
CDN: trunk URL couldn't be downloaded: https://cdn.jsdelivr.net/cocoa/Specs/a/a/4/Masonry/0.2.0/Masonry.podspec.json Response: Couldn't connect to server

解决方法

步骤:1.在podfile里面添加source ‘https://github.com/CocoaPods/Specs.git’
   2.终端下执行 pod repo remove trunk来移除trunk,重新pod install

猜你喜欢

转载自blog.csdn.net/LIUXIAOXIAOBO/article/details/131314146
cdn