[Flutter] building for iOS Simulator, but linking in object file ... for architecture arm64
起こった現象
シミュレータを起動した途端にタイトルのエラーが発生し、シミュレータでアプリが起動できなくなった
対処方法
app/ios/Podfileに以下の内容を追記してpod install(参考サイトではpod update)したらエラー解消しました
post_install do |installer|
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
end
end
参考サイト
この記事が気に入ったらサポートをしてみませんか?