升级cocoapods后,运行 pod repo update 或 pod install 时出现 ffi 问题
解决方式:
1.进入目录:cd /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/
看到有universal-darwin23
2.因此可以直接使用universal-darwin23安装ffi
参考:https://github.com/CocoaPods/CocoaPods/issues/11627