当我尝试在 IOS 中使用 android studio 构建我的 Flutter 应用程序时,它不断向我显示来自“Appdelegate.m”页面的错误。我对客观性 C 一无所知,我想知道是否有人可以帮助我。下面是来自“Appdelegate.m”的代码
#import "AppDelegate.h"
#import "GeneratedPluginRegistrant.h"
#import <Firebase/Firebase.h>
@import UIKit;
@import GoogleMobileAds;
@implementation AppDelegate
didFinishLaunchingWithOptions
(NSDictionary *)launchOptions {
[GeneratedPluginRegistrant registerWithRegistry:self];
[FIRApp configure];
[[GADMobileAds sharedInstance] startWithCompletionHandler:nil];
// Override point for customization after application launch.
if #available(iOS 10.0, *) {
UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
}
return [super application:application didFinishLaunchingWithOptions:launchOptions];
}
@end