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:
committed by
Dan Field
parent
eda228404c
commit
52697ef962
@@ -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"
|
||||
|
||||
@@ -224,7 +224,7 @@ Depends on all your plugins, and provides a function to register them.
|
||||
s.homepage = 'https://flutter.io'
|
||||
s.license = { :type => 'BSD' }
|
||||
s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' }
|
||||
s.ios.deployment_target = '7.0'
|
||||
s.ios.deployment_target = '8.0'
|
||||
s.source_files = "Classes", "Classes/**/*.{h,m}"
|
||||
s.source = { :path => '.' }
|
||||
s.public_header_files = './Classes/**/*.h'
|
||||
|
||||
Reference in New Issue
Block a user