mirror of
https://github.com/flutter/flutter
synced 2024-10-13 11:42:54 +00:00
Let the gallery bundle Id ephemerally change to io.flutter.demo.gallery before deploying (#14686)
* Let the gallery bundle Id ephemerally change to io.flutter.demo.gallery before deploying * add a comment
This commit is contained in:
parent
58689c796c
commit
a194818c59
|
@ -455,7 +455,7 @@
|
|||
"$(inherited)",
|
||||
"$(PROJECT_DIR)/Flutter",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.demo.gallery;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.examples.gallery;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
};
|
||||
name = Debug;
|
||||
|
@ -477,7 +477,7 @@
|
|||
"$(inherited)",
|
||||
"$(PROJECT_DIR)/Flutter",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.demo.gallery;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = io.flutter.examples.gallery;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
};
|
||||
name = Release;
|
||||
|
|
|
@ -29,6 +29,13 @@ platform :ios do
|
|||
raw_version = File.read('../../../../version')
|
||||
puts "Building and deploying version #{raw_version}..."
|
||||
|
||||
update_app_identifier(
|
||||
plist_path: 'Runner/Info.plist',
|
||||
# Let the checked-in bundle ID be different so users don't collide on
|
||||
# provisioning profile creation when building locally.
|
||||
app_identifier: 'io.flutter.demo.gallery'
|
||||
)
|
||||
|
||||
increment_version_number(
|
||||
# Only major, minor, patch digits and dots.
|
||||
version_number: /\d+\.\d+\.\d+/.match(raw_version)[0]
|
||||
|
|
Loading…
Reference in a new issue