Require xcode_backend.sh arguments (introduced in Flutter v0.0.7) (#65124)

This commit is contained in:
Jenn Magder
2020-09-02 16:33:26 -07:00
committed by GitHub
parent 2f96d1f026
commit 2e67bf2e32
41 changed files with 873 additions and 72 deletions

View File

@@ -315,9 +315,9 @@ EmbedAndThinFrameworks() {
# Main entry point.
if [[ $# == 0 ]]; then
# Backwards-compatibility: if no args are provided, build and embed.
BuildApp
EmbedFlutterFrameworks
# Named entry points were introduced in Flutter v0.0.7.
EchoError "error: Your Xcode project is incompatible with this version of Flutter. Run \"rm -rf ios/Runner.xcodeproj\" and \"flutter create .\" to regenerate."
exit -1
else
case $1 in
"build")