Open3
[Apple Silicon M1] Flutterビルドでエラーが出た時の対処方法
エラー
dlsym(0x7fe586366f60, Init_ffi_c): symbol not found - /Library/Ruby/Gems/2.6.0/gems/ffi-1.14.2/lib/ffi_c.bundle
...
[!] Automatically assigning platform `iOS` with version `9.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
ios - Please specify a platform for this target in your Podfile? - Stack Overflow
M1だと libffi+Ruby2.6.0で不具合があるっぽい。
CocoaPods compatibility with Apple DTK (Apple Silicon) · Issue #9907 · CocoaPods/CocoaPods
Cocoapods not install OneSignal - CocoaPods
ターミナルをrosettaで起動して、sudo gem install ffi
でPod関連はクリアしたが、今度は次のエラーが出る。
[VERBOSE-2:profiler_metrics_ios.mm(184)] Error retrieving thread information: (ipc/send) invalid destination port