Remove use_modular_headers from Podfiles using libraries (#42872)

* Remove use_modular_headers from Podfiles using libraries

* Remove @imports
This commit is contained in:
Jenn Magder 2019-10-17 15:26:10 -07:00 committed by GitHub
parent bc396d1b5c
commit b194f93541
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 2 additions and 22 deletions

View File

@ -33,8 +33,6 @@ def parse_KV_file(file, separator='=')
end
target 'Runner' do
use_modular_headers!
# Flutter Pod
copied_flutter_dir = File.join(__dir__, 'Flutter')

View File

@ -5,7 +5,6 @@ flutter_application_path = 'flutterapp/'
load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')
target 'ios_add2app' do
use_modular_headers!
install_all_flutter_pods(flutter_application_path)
end

View File

@ -1,11 +1,6 @@
#import "ViewController.h"
@import Flutter;
@import FlutterPluginRegistrant;
// Prove plugins can be module-imported from the host app.
@import device_info;
@import google_maps_flutter;
#import <Flutter/Flutter.h>
#import <FlutterPluginRegistrant/GeneratedPluginRegistrant.h>
@implementation ViewController

View File

@ -4,6 +4,5 @@ flutter_application_path = '../hello'
load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')
target 'Host' do
use_modular_headers!
install_all_flutter_pods flutter_application_path
end

View File

@ -4,6 +4,5 @@ flutter_application_path = '../hello'
load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')
target 'Host' do
use_modular_headers!
install_all_flutter_pods flutter_application_path
end

View File

@ -33,8 +33,6 @@ def parse_KV_file(file, separator='=')
end
target 'Runner' do
use_modular_headers!
# Flutter Pod
copied_flutter_dir = File.join(__dir__, 'Flutter')

View File

@ -33,8 +33,6 @@ def parse_KV_file(file, separator='=')
end
target 'Runner' do
use_modular_headers!
# Flutter Pod
copied_flutter_dir = File.join(__dir__, 'Flutter')

View File

@ -33,8 +33,6 @@ def parse_KV_file(file, separator='=')
end
target 'Runner' do
use_modular_headers!
# Flutter Pod
copied_flutter_dir = File.join(__dir__, 'Flutter')

View File

@ -33,8 +33,6 @@ def parse_KV_file(file, separator='=')
end
target 'Runner' do
use_modular_headers!
# Flutter Pod
copied_flutter_dir = File.join(__dir__, 'Flutter')

View File

@ -6,8 +6,6 @@ load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')
use_frameworks!
target 'Runner' do
use_modular_headers!
install_flutter_engine_pod
install_flutter_plugin_pods flutter_application_path
end