To see why this extension failed to compile, please check the mkmf.log which can be found here:
/Library/Ruby/Gems/2.6.0/extensions/universal-darwin-22/2.6.0/ffi-1.15.5/mkmf.log
extconf failed, exit code 1
安装pod时报这样的错误,按网上各种方法尝试无效,慌的一批,后面看到这篇博客https://blog.csdn.net/Baby_come_here/article/details/125144329,解决了,原因是两个目录下的universal-darwin不一致,只需要将Xcode下目录universal-darwin序号更改就行
网友评论