Unverified Commit ead5e8e4 authored by Dan Field's avatar Dan Field Committed by GitHub

Fix Xcode_backend.sh for flavors (#27691)

parent fdcb861b
...@@ -52,9 +52,9 @@ BuildApp() { ...@@ -52,9 +52,9 @@ BuildApp() {
local build_mode="$(echo "${FLUTTER_BUILD_MODE:-${CONFIGURATION}}" | tr "[:upper:]" "[:lower:]")" local build_mode="$(echo "${FLUTTER_BUILD_MODE:-${CONFIGURATION}}" | tr "[:upper:]" "[:lower:]")"
local artifact_variant="unknown" local artifact_variant="unknown"
case "$build_mode" in case "$build_mode" in
release*) build_mode="release"; artifact_variant="ios-release";; *release*) build_mode="release"; artifact_variant="ios-release";;
profile*) build_mode="profile"; artifact_variant="ios-profile";; *profile*) build_mode="profile"; artifact_variant="ios-profile";;
debug*) build_mode="debug"; artifact_variant="ios";; *debug*) build_mode="debug"; artifact_variant="ios";;
*) *)
EchoError "========================================================================" EchoError "========================================================================"
EchoError "ERROR: Unknown FLUTTER_BUILD_MODE: ${build_mode}." EchoError "ERROR: Unknown FLUTTER_BUILD_MODE: ${build_mode}."
......
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