Unverified Commit a194818c authored by xster's avatar xster Committed by GitHub

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
parent 58689c79
......@@ -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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment