Fixes to support add2app on iOS (#22277)

* Fix xcode_backend.sh script to support add2app

* Fix ios deployment target. Too old for new Xcode.

* Fix ios host app

* Register plugins with Flutter view
This commit is contained in:
Mikkel Nygaard Ravn
2018-09-26 07:57:05 +02:00
committed by Dan Field
parent eda228404c
commit 52697ef962
12 changed files with 145 additions and 127 deletions

View File

@@ -81,7 +81,7 @@ BuildApp() {
local derived_dir="${SOURCE_ROOT}/Flutter"
if [[ -e "${project_path}/.ios" ]]; then
derived_dir="${SOURCE_ROOT}/../.ios/Flutter"
derived_dir="${project_path}/.ios/Flutter"
fi
RunCommand mkdir -p -- "$derived_dir"
AssertExists "$derived_dir"