Сocoapods trunk URL couldn't be downloaded

前端 未结 12 1425
余生分开走
余生分开走 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:21

    I fixed it by this solution Add this to your Podfile:

    source 'https://cdn.cocoapods.org/'
    

    Afterwards, run the following command to remove it from your managed repo list (in console):

    pod repo remove master
    

    Cheers!

提交回复
热议问题