Flutter build iOS 报错信息:
Could not build the precompiled application for the device
Error (Xcode): Undefined symbol: std::terminate()
Error (Xcode): Undefined symbol:-_cxa_begin_catch
Error (Xcode): Undefined symbol: ---gxx_personality_vo
flutter doctor 信息
[✓] Flutter (Channel stable, 3.7.7, on macOS 13.1 22C65 darwin-x64, locale
zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.3)
[✓] VS Code (version 1.77.3)
[✓] Connected device (2 available)
解决方案:
升级到Xcode 14.3