mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Most iOS embedder developers rely on two simulator builds: * ios_debug_sim_unopt (for simulators on x64 hosts) * ios_debug_sim_unopt_arm64 (for simulators on arm64 hosts) We specify these two builds, for example, in our iOS unit test Xcode project `testing/ios/IosUnitTests/Tests/FlutterEngineConfig.xcconfig`. Currently `local_engine.json` specifies two simulator builds: * ios_debug_sim_unopt (for simulators on x64 hosts) * ios_debug_sim_arm64 (for simulators on arm64 hosts) While the x64 build specifies the `--unoptimized` flag, the arm64 build does not, which is problematic for those wanting to use both `et` and run the iOS unit tests. This adds the `--unoptimized` flag for consistency with prevailing practice among iOS embedder developers. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style