Remove use_modular_headers from Podfiles using libraries (#42872)
* Remove use_modular_headers from Podfiles using libraries * Remove @imports
This commit is contained in:
parent
bc396d1b5c
commit
b194f93541
@ -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')
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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')
|
||||
|
@ -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')
|
||||
|
@ -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')
|
||||
|
@ -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')
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user