更新时间:2022-01-26 22:03:09
我最近禁用了 Rosetta,并且 Cocoapods 在添加 ffi gem 后运行良好.
I recently disabled Rosetta, and Cocoapods runs just fine with the addition of the ffi gem.
对于其他在这个问题上苦苦挣扎的人,我刚刚找到了解决它的方法.除了在 Rosetta 中运行终端:
For anyone else struggling with this issue, I just found a way to solve it. In addition to running terminal in Rosetta:
我安装了一个 gem,它似乎与错误中未找到的符号有关:
I installed a gem that seems to be related to the symbol not found in the error:
sudo gem install ffi
执行此操作后,cocoapods 将按预期运行.
After doing this, cocoapods runs as expected.