# exit on error, or usage of unset varset-euo pipefail# Needed because if it is set, cd may print the path it changed to.unset CDPATHfunction follow_links()(cd-P"$(dirname--"$1")"file="$PWD/$(basename--"$1")"while[[-h"$file"]];docd-P"$(dirname--"$file")"file="$(readlink--"$file")"cd-P"$(dirname--"$file")"file="$PWD/$(basename--"$file")"doneecho"$file")PROG_NAME="$(follow_links "${BASH_SOURCE[0]}")"BIN_DIR="$(cd"${PROG_NAME%/*}";pwd-P)"FLUTTER_ROOT="$BIN_DIR/../../.."DART="$FLUTTER_ROOT/bin/dart""$DART""$BIN_DIR/xcode_backend.dart""$@"