use_modular_headers (#42204)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user