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打开终端,问题解决了。
在Finder应用程序-->实用工具-->终端 右击,选择使用Rosetta打开。