解决方法:

1.不替换cdn源:

步骤:1.终端执行sudo vim /private/etc/hosts

   2.在hosts文件中添加199.232.4.133  raw.githubusercontent.com的映射,重新执行pod install

2.用source 'https://github.com/CocoaPods/Specs.git'替换到cdn源

步骤:1.在podfile里面添加source 'https://github.com/CocoaPods/Specs.git'

   2.终端下执行 pod repo remove trunk来移除trunk,重新pod install

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-24
  • 2021-09-11
  • 2022-12-23
猜你喜欢
  • 2021-09-24
  • 2021-08-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-06
  • 2021-08-03
相关资源
相似解决方案