10
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

M1 Macでpod installでバスエラーをRossettaなしで回避

Last updated at Posted at 2021-10-19

CocoaPodsをアップデートしたらpod install
/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.4/lib/ffi/library.rb:275: [BUG] Bus Error
とかでクラッシュするようになり。
調べるとRossetta使って回避!とかしてる残念な人達が多かったので、いや、ないわーと。

Segmentation fault on M1 macOS Big Sur #864

sudo gem install ffi -- --enable-libffi-alloc
で回避しました

終わり。

戻し方

3年?も経つと状況もまた変わってくるわけで、CocoaPodをアップデートしようとしたら逆にビルドエラーするようになっていたので

sudo gem uninstall ffi

でffiを一度アンインストールしてやると無事に通りましたとさ。

10
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
5

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?