概要
iOS framework addition failed due to a CocoaPods installation failure. This will will likely result in an non-functional Xcode project. After the failure, "pod repo update" was executed and failed. "pod install" was then attempted again, and still failed. This may be due to a broken CocoaPods installation. See: https://guides.cocoapods.org/using/troubleshooting.html for potential solutions. pod install output: /Users/XXXX/.gem/ruby/2.6.0/gems/ffi-1.15.5/lib/ffi/library.rb:275: [BUG] Bus Error at 0x0000000102480000 ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21]
Firebase を導入した Unity プロジェクトで iOS ビルドした時に
上記のエラーが出る現象に遭遇した
gem install --user-install ffi -- --enable-libffi-alloc
おそらく上記のコマンドを実行した後から iOS ビルドが成功するようになったが
色々試していた関係で確信は持てないため、
念の為に参考にさせていただいたサイト様を備忘録として残しておきます