use_modular_headers (#42204)

This commit is contained in:
Jenn Magder
2019-10-15 12:36:50 -07:00
committed by GitHub
parent 13a054f76e
commit 649cf82018
39 changed files with 98 additions and 44 deletions

View File

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

View File

@@ -4,5 +4,6 @@ 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