美文网首页
cocoapods换成M芯片后pod install报错

cocoapods换成M芯片后pod install报错

作者: amove_xu | 来源:发表于2024-06-10 11:37 被阅读0次

cocoapods换成M芯片后执行pod install

 MacBook-Pro:Demo amove$ pod install

Analyzing dependencies

[!] Couldn't determine repo type for URL: `https://cdn.cocoapods.org/`: SSL_connect SYSCALL returned=5 errno=0 peeraddr=[2606:4700:20::ac43:4aa7]:443 state=error: certificate verify failed (unable to get local issuer certificate)

[!] Smart quotes were detected and ignored in your Podfile. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes in your editor of choice.

报证书校验错误,试了网上几种方案,升级homebrew  升级ruby 升级cocoapod 都未解决,最后基本摆烂了,试了一下从Rosetta打开终端,问题解决了。

设置从Rosetta打开

在Finder应用程序-->实用工具-->终端 右击,选择使用Rosetta打开。

相关文章

网友评论

      本文标题:cocoapods换成M芯片后pod install报错

      本文链接:https://www.haomeiwen.com/subject/psviqjtx.html