- [!] CDN: trunk Repo update faile
- [!] CDN: trunk Repo update faile
- [!] CDN: trunk Repo update faile
- [!] CDN: trunk Repo update faile
- [!] CDN: trunk Repo update faile
- [!] CDN: trunk Repo update faile
- [!] CDN: trunk Repo update faile
- [!] CDN: trunk Repo update faile
- [!] CDN: trunk Repo update faile
- cocoapods-1.8.4版本错误
在使用cocoapods时,在执行pod search 操作时,报[!] CDN: trunk Repo update failed
解决办法:
1. podfile文件中指定source源为master:
source 'https://github.com/CocoaPods/Specs.git'
2.执行pod repo remove trunk移除trunk源
执行完后,pod search 就都正常了!
注意:podfile文件中一定要指定master源,因为现在默认是trunk源
source 'https://github.com/CocoaPods/Specs.git'
网友评论