flutter/packages/flutter_tools/test
Arne Molland 6d2b5ea30e
Fix inconsistently suffixed macOS flavored bundle directory (#127997)
The current implementation of macOS flavor support (#119564) assumes a bundle directory that differs from both the iOS implementation and the official documentation. The [documentation](https://docs.flutter.dev/deployment/flavors) instructs developers to suffix their Xcode build configurations with `-<flavor>`, but the implementation assumes a space:

5fd9ef4240/packages/flutter_tools/lib/src/macos/application_package.dart (L174-L178)

Whereas the iOS implementation, which is the reference for the docs, assumes a `-<flavor>` suffix:

a257efc284/packages/flutter_tools/lib/src/ios/xcodeproj.dart (L482-L488)

This change replaces the empty space with the `-` character which is in line with the documentation and iOS implementation, as well as removing the sentence-casing applied to the flavor name; every bundle built with a flavor keeps the original flavor name in its filename.

*List which issues are fixed by this PR. You must list at least one issue.*
#122684.

*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
2023-06-14 23:43:17 +00:00
..
commands.shard rename generated asset manifest file back to AssetManifest.bin (from AssetManifest.smcbin) (#128529) 2023-06-09 21:20:50 +00:00
data Bump lower Dart SDK constraints to 3.0 & add class modifiers (#122546) 2023-03-21 20:21:58 +00:00
general.shard Fix inconsistently suffixed macOS flavored bundle directory (#127997) 2023-06-14 23:43:17 +00:00
host_cross_arch.shard [flutter_tools] Use process matcher for multidex test (#127996) 2023-06-01 22:24:08 +00:00
integration.shard Ignore app.stop events received before the app.detach response in attach integration tests (#128593) 2023-06-09 17:50:03 +00:00
src [flutter_tools] Suppress git output in flutter channel (#128475) 2023-06-13 19:28:06 +00:00
web.shard Add vmservice for android build options (#123034) 2023-04-18 18:16:09 +00:00