Сocoapods trunk URL couldn't be downloaded

前端 未结 12 1424
余生分开走
余生分开走 2020-12-23 12:43

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

CDN: trunk URL couldn\'t be downloaded: https://cdn.cocoa

12条回答
  •  自闭症患者
    2020-12-23 13:03

    Step one. Remove trunk & master

    pod repo remove trunk
    pod repo remove master
    

    Step two. Add source in podfile.

    source 'https://github.com/CocoaPods/Specs.git'
    source 'https://cdn.cocoapods.org/'
    

    Step three. Run pod update. Solve my problem.

    pod update --verbose
    

提交回复
热议问题