flutter/packages/flutter_tools/test/general.shard/macos
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
..
application_package_test.dart Fix inconsistently suffixed macOS flavored bundle directory (#127997) 2023-06-14 23:43:17 +00:00
cocoapods_test.dart Add readlink -f flag to CocoaPods script to workaround Xcode 14.3 issue (#124062) 2023-04-03 16:55:00 -07:00
cocoapods_validator_test.dart [tools]Build IPA validation UI Polish (#116744) 2022-12-15 14:43:32 -08:00
macos_device_test.dart tool: use switch expressions (#125930) 2023-05-03 21:00:08 +00:00
macos_ipad_device_test.dart Update device filtering and introduce isConnected and connectionInterface (#121359) 2023-03-03 18:06:16 +00:00
macos_project_migration_test.dart Adding vmservice to get iOS app settings (#123156) 2023-05-04 22:14:11 +00:00
macos_workflow_test.dart Enable avoid_redundant_argument_values lint (#91409) (#91462) 2021-10-08 09:25:14 -07:00
xcode_test.dart Increase Xcode minimum version to 14 (#125639) 2023-04-27 23:17:56 +00:00
xcode_validator_test.dart Increase Xcode minimum version to 14 (#125639) 2023-04-27 23:17:56 +00:00