Error output from Xcode build:
↳
2020-10-13 08:59:16.259 xcodebuild[6526:1001643] [MT] PluginLoading: Required plug-in compatibility UUID 6C8909A0-F208-4C21-9224-504F9A70056E for plug-in at path '~/Library/Application
Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2020-10-13 08:59:18.127 xcodebuild[6526:1001786] DTDeviceKit: deviceType from 00008030-000620AA1ED9802E was NULL
BUILD FAILED
Xcode's output:
↳
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:551:87: warning: 'UIUserNotificationSettings' is deprecated: first deprecated in
iOS 10.0 - Use UserNotifications Framework's UNNotificationSettings [-Wdeprecated-declarations]
(void)application:(UIApplication )application didRegisterUserNotificationSettings:(UIUserNotificationSettings )notificationSettings {
^
In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:44:12: note:
'UIUserNotificationSettings' has been explicitly marked deprecated here
@interface UIUserNotificationSettings : NSObject
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:570:78: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0
Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
-(void)application:(UIApplication )application didReceiveLocalNotification:(UILocalNotification )notification {
^
In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been
explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:606:165: warning: this block declaration is not a prototype [-Wstrict-prototypes]
(void)jpushNotificationCenter:(UNUserNotificationCenter )center didReceiveNotificationResponse:(UNNotificationResponse )response withCompletionHandler:(void (^)())completionHandler API_AVAILABLE(ios(10.0)){
^
void
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:643:41: error: expected a type
(void)jpushNotificationAuthorization:(JPAuthorizationStatus)status withInfo:(NSDictionary )info {
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:400:17: warning: 'action' is deprecated: first deprecated in iOS 10.0
[-Wdeprecated-declarations]
content.action = params[@"action"];
^
In file included from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:6:
/Users/mac/Desktop/dy_bb_app/ios/Pods/Headers/Public/JPush/JPUSHService.h:101:39: note: 'action' has been explicitly marked deprecated here
@property (nonatomic, copy) NSString action NS_DEPRECATED_IOS(8_0, 10_0); // 弹框的按钮显示的内容(IOS 8默认为"打开", 其他默认为"启动",iOS10以上无效)
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:425:21: warning: 'fireDate' is deprecated: first deprecated in iOS 10.0
[-Wdeprecated-declarations]
trigger.fireDate = [NSDate dateWithTimeIntervalSince1970: [date doubleValue]/1000];
^
In file included from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:6:
/Users/mac/Desktop/dy_bb_app/ios/Pods/Headers/Public/JPush/JPUSHService.h:123:37: note: 'fireDate' has been explicitly marked deprecated here
@property (nonatomic, copy) NSDate fireDate NS_DEPRECATED_IOS(2_0, 10_0); // 用来设置触发推送的时间,iOS10以上无效
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:448:54: error: type-id cannot have a name
[JPUSHService requestNotificationAuthorization:^(JPAuthorizationStatus status) {
^~~~~~
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:448:76: error: expected ')'
[JPUSHService requestNotificationAuthorization:^(JPAuthorizationStatus status) {
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:448:53: note: to match this '('
[JPUSHService requestNotificationAuthorization:^(JPAuthorizationStatus status) {
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:448:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
[JPUSHService requestNotificationAuthorization:^(JPAuthorizationStatus status) {
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:450:13: error: use of undeclared identifier 'status'
if (status == JPAuthorizationStatusAuthorized) {
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:450:23: error: use of undeclared identifier 'JPAuthorizationStatusAuthorized'; did
you mean 'UNAuthorizationStatusAuthorized'?
if (status == JPAuthorizationStatusAuthorized) {
^~~~~~~
UNAuthorizationStatusAuthorized
In module 'UserNotifications' imported from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:3:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:20:5: note:
'UNAuthorizationStatusAuthorized' declared here
UNAuthorizationStatusAuthorized,
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:448:19: error: no known class method for selector
'requestNotificationAuthorization:'
[JPUSHService requestNotificationAuthorization:^(JPAuthorizationStatus status) {
^~~~~~~~
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:464:19: error: no known class method for selector 'openSettingsForNotification:'
[JPUSHService openSettingsForNotification:^(BOOL success) {
^~~~~~~
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:486:36: warning: 'UIApplicationLaunchOptionsLocalNotificationKey' is deprecated:
first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:] [-Wdeprecated-declarations]
if ([launchOptions valueForKey:UIApplicationLaunchOptionsLocalNotificationKey]) {
^
In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:504:50: note:
'UIApplicationLaunchOptionsLocalNotificationKey' has been explicitly marked deprecated here
UIKIT_EXTERN UIApplicationLaunchOptionsKey const UIApplicationLaunchOptionsLocalNotificationKey NS_SWIFT_NAME(localNotification) API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenterDelegate
didReceiveNotificationResponse:withCompletionHandler:]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos); // userInfo contains a UILocalNotification
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:487:9: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 -
Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
UILocalNotification localNotification = [launchOptions valueForKey:UIApplicationLaunchOptionsLocalNotificationKey];
^
In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been
explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:487:77: warning: 'UIApplicationLaunchOptionsLocalNotificationKey' is deprecated:
first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:] [-Wdeprecated-declarations]
UILocalNotification localNotification = [launchOptions valueForKey:UIApplicationLaunchOptionsLocalNotificationKey];
^
In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:504:50: note:
'UIApplicationLaunchOptionsLocalNotificationKey' has been explicitly marked deprecated here
UIKIT_EXTERN UIApplicationLaunchOptionsKey const UIApplicationLaunchOptionsLocalNotificationKey NS_SWIFT_NAME(localNotification) API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenterDelegate
didReceiveNotificationResponse:withCompletionHandler:]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos); // userInfo contains a UILocalNotification
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:493:93: warning: 'UILocalNotificationDefaultSoundName' is deprecated: first
deprecated in iOS 10.0 - Use UserNotifications Framework's +[UNNotificationSound defaultSound] [-Wdeprecated-declarations]
localNotificationEvent[@"soundName"] = [localNotification.soundName isEqualToString:UILocalNotificationDefaultSoundName] ? @"" : localNotification.soundName;
^
In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:62:30: note:
'UILocalNotificationDefaultSoundName' has been explicitly marked deprecated here
UIKIT_EXTERN NSString const UILocalNotificationDefaultSoundName API_DEPRECATED("Use UserNotifications Framework's +[UNNotificationSound defaultSound]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos);
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:511:17: warning: 'fireDate' is deprecated: first deprecated in iOS 10.0
[-Wdeprecated-declarations]
trigger.fireDate = fireDate;
^
In file included from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:6:
/Users/mac/Desktop/dy_bb_app/ios/Pods/Headers/Public/JPush/JPUSHService.h:123:37: note: 'fireDate' has been explicitly marked deprecated here
@property (nonatomic, copy) NSDate fireDate NS_DEPRECATED_IOS(2_0, 10_0); // 用来设置触发推送的时间,iOS10以上无效
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:519:13: warning: 'action' is deprecated: first deprecated in iOS 10.0
[-Wdeprecated-declarations]
content.action = @"action";
^
In file included from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:6:
/Users/mac/Desktop/dy_bb_app/ios/Pods/Headers/Public/JPush/JPUSHService.h:101:39: note: 'action' has been explicitly marked deprecated here
@property (nonatomic, copy) NSString action NS_DEPRECATED_IOS(8_0, 10_0); // 弹框的按钮显示的内容(IOS 8默认为"打开", 其他默认为"启动",iOS10以上无效)
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:551:1: warning: implementing deprecated method [-Wdeprecated-implementations]
(void)application:(UIApplication )application didRegisterUserNotificationSettings:(UIUserNotificationSettings )notificationSettings {
^
In module 'Flutter' imported from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.h:1:
/Users/mac/Desktop/dy_bb_app/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:74:1: note: method 'application:didRegisterUserNotificationSettings:' declared here
(void)application:(UIApplication)application
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:553:74: warning: 'UIUserNotificationTypeSound' is deprecated: first deprecated in
iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations]
@"sound" : [NSNumber numberWithBool:notificationSettings.types & UIUserNotificationTypeSound],
^
In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note:
'UIUserNotificationType' has been explicitly marked deprecated here
typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) {
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:554:74: warning: 'UIUserNotificationTypeBadge' is deprecated: first deprecated in
iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations]
@"badge" : [NSNumber numberWithBool:notificationSettings.types & UIUserNotificationTypeBadge],
^
In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note:
'UIUserNotificationType' has been explicitly marked deprecated here
typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) {
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:555:74: warning: 'UIUserNotificationTypeAlert' is deprecated: first deprecated in
iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations]
@"alert" : [NSNumber numberWithBool:notificationSettings.types & UIUserNotificationTypeAlert],
^
In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note:
'UIUserNotificationType' has been explicitly marked deprecated here
typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) {
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:570:1: warning: implementing deprecated method [-Wdeprecated-implementations]
-(void)application:(UIApplication )application didReceiveLocalNotification:(UILocalNotification *)notification {
^
In module 'Flutter' imported from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.h:1:
/Users/mac/Desktop/dy_bb_app/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:98:1: note: method 'application:didReceiveLocalNotification:' declared here
(void)application:(UIApplication*)application
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:646:19: error: use of undeclared identifier 'JPAuthorizationStatusAuthorized'; did
you mean 'UNAuthorizationStatusAuthorized'?
if (status == JPAuthorizationStatusAuthorized) {
^~~~~~~
UNAuthorizationStatusAuthorized
In module 'UserNotifications' imported from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:3:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:20:5: note:
'UNAuthorizationStatusAuthorized' declared here
UNAuthorizationStatusAuthorized,
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:646:16: warning: comparison between pointer and integer ('id' and 'NSInteger' (aka
'int')) [-Wpointer-integer-compare]
if (status == JPAuthorizationStatusAuthorized) {
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:606:168: warning: conflicting parameter types in implementation of
'jpushNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:': 'void (^__strong)(void)' vs 'void (^__strong)()' [-Wmismatched-parameter-types]
In file included from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:6:
/Users/mac/Desktop/dy_bb_app/ios/Pods/Headers/Public/JPush/JPUSHService.h:656:171: note: previous definition is here
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:30:17: warning: class 'JPushPlugin' does not conform to protocol
'JPUSHRegisterDelegate' [-Wprotocol]
@implementation JPushPlugin {
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:30:17: note: add stubs for missing protocol requirements
20 warnings and 8 errors generated.
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:551:87: warning: 'UIUserNotificationSettings' is deprecated: first deprecated in
iOS 10.0 - Use UserNotifications Framework's UNNotificationSettings [-Wdeprecated-declarations]
(void)application:(UIApplication )application didRegisterUserNotificationSettings:(UIUserNotificationSettings )notificationSettings {
^
In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:44:12: note:
'UIUserNotificationSettings' has been explicitly marked deprecated here
@interface UIUserNotificationSettings : NSObject
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:570:78: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0
Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
-(void)application:(UIApplication )application didReceiveLocalNotification:(UILocalNotification )notification {
^
In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been
explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:606:165: warning: this block declaration is not a prototype [-Wstrict-prototypes]
(void)jpushNotificationCenter:(UNUserNotificationCenter )center didReceiveNotificationResponse:(UNNotificationResponse )response withCompletionHandler:(void (^)())completionHandler API_AVAILABLE(ios(10.0)){
^
void
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:643:41: error: expected a type
(void)jpushNotificationAuthorization:(JPAuthorizationStatus)status withInfo:(NSDictionary )info {
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:400:17: warning: 'action' is deprecated: first deprecated in iOS 10.0
[-Wdeprecated-declarations]
content.action = params[@"action"];
^
In file included from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:6:
/Users/mac/Desktop/dy_bb_app/ios/Pods/Headers/Public/JPush/JPUSHService.h:101:39: note: 'action' has been explicitly marked deprecated here
@property (nonatomic, copy) NSString action NS_DEPRECATED_IOS(8_0, 10_0); // 弹框的按钮显示的内容(IOS 8默认为"打开", 其他默认为"启动",iOS10以上无效)
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:425:21: warning: 'fireDate' is deprecated: first deprecated in iOS 10.0
[-Wdeprecated-declarations]
trigger.fireDate = [NSDate dateWithTimeIntervalSince1970: [date doubleValue]/1000];
^
In file included from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:6:
/Users/mac/Desktop/dy_bb_app/ios/Pods/Headers/Public/JPush/JPUSHService.h:123:37: note: 'fireDate' has been explicitly marked deprecated here
@property (nonatomic, copy) NSDate fireDate NS_DEPRECATED_IOS(2_0, 10_0); // 用来设置触发推送的时间,iOS10以上无效
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:448:54: error: type-id cannot have a name
[JPUSHService requestNotificationAuthorization:^(JPAuthorizationStatus status) {
^~~~~~
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:448:76: error: expected ')'
[JPUSHService requestNotificationAuthorization:^(JPAuthorizationStatus status) {
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:448:53: note: to match this '('
[JPUSHService requestNotificationAuthorization:^(JPAuthorizationStatus status) {
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:448:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
[JPUSHService requestNotificationAuthorization:^(JPAuthorizationStatus status) {
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:450:13: error: use of undeclared identifier 'status'
if (status == JPAuthorizationStatusAuthorized) {
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:450:23: error: use of undeclared identifier 'JPAuthorizationStatusAuthorized'; did
you mean 'UNAuthorizationStatusAuthorized'?
if (status == JPAuthorizationStatusAuthorized) {
^~~~~~~
UNAuthorizationStatusAuthorized
In module 'UserNotifications' imported from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:3:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:20:5: note:
'UNAuthorizationStatusAuthorized' declared here
UNAuthorizationStatusAuthorized,
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:448:19: error: no known class method for selector
'requestNotificationAuthorization:'
[JPUSHService requestNotificationAuthorization:^(JPAuthorizationStatus status) {
^~~~~~~~
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:464:19: error: no known class method for selector 'openSettingsForNotification:'
[JPUSHService openSettingsForNotification:^(BOOL success) {
^~~~~~~
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:486:36: warning: 'UIApplicationLaunchOptionsLocalNotificationKey' is deprecated:
first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:] [-Wdeprecated-declarations]
if ([launchOptions valueForKey:UIApplicationLaunchOptionsLocalNotificationKey]) {
^
In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:504:50: note:
'UIApplicationLaunchOptionsLocalNotificationKey' has been explicitly marked deprecated here
UIKIT_EXTERN UIApplicationLaunchOptionsKey const UIApplicationLaunchOptionsLocalNotificationKey NS_SWIFT_NAME(localNotification) API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenterDelegate
didReceiveNotificationResponse:withCompletionHandler:]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos); // userInfo contains a UILocalNotification
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:487:9: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 -
Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
UILocalNotification localNotification = [launchOptions valueForKey:UIApplicationLaunchOptionsLocalNotificationKey];
^
In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been
explicitly marked deprecated here
@interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:487:77: warning: 'UIApplicationLaunchOptionsLocalNotificationKey' is deprecated:
first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:] [-Wdeprecated-declarations]
UILocalNotification localNotification = [launchOptions valueForKey:UIApplicationLaunchOptionsLocalNotificationKey];
^
In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:504:50: note:
'UIApplicationLaunchOptionsLocalNotificationKey' has been explicitly marked deprecated here
UIKIT_EXTERN UIApplicationLaunchOptionsKey const UIApplicationLaunchOptionsLocalNotificationKey NS_SWIFT_NAME(localNotification) API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenterDelegate
didReceiveNotificationResponse:withCompletionHandler:]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos); // userInfo contains a UILocalNotification
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:493:93: warning: 'UILocalNotificationDefaultSoundName' is deprecated: first
deprecated in iOS 10.0 - Use UserNotifications Framework's +[UNNotificationSound defaultSound] [-Wdeprecated-declarations]
localNotificationEvent[@"soundName"] = [localNotification.soundName isEqualToString:UILocalNotificationDefaultSoundName] ? @"" : localNotification.soundName;
^
In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:62:30: note:
'UILocalNotificationDefaultSoundName' has been explicitly marked deprecated here
UIKIT_EXTERN NSString const UILocalNotificationDefaultSoundName API_DEPRECATED("Use UserNotifications Framework's +[UNNotificationSound defaultSound]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos);
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:511:17: warning: 'fireDate' is deprecated: first deprecated in iOS 10.0
[-Wdeprecated-declarations]
trigger.fireDate = fireDate;
^
In file included from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:6:
/Users/mac/Desktop/dy_bb_app/ios/Pods/Headers/Public/JPush/JPUSHService.h:123:37: note: 'fireDate' has been explicitly marked deprecated here
@property (nonatomic, copy) NSDate fireDate NS_DEPRECATED_IOS(2_0, 10_0); // 用来设置触发推送的时间,iOS10以上无效
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:519:13: warning: 'action' is deprecated: first deprecated in iOS 10.0
[-Wdeprecated-declarations]
content.action = @"action";
^
In file included from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:6:
/Users/mac/Desktop/dy_bb_app/ios/Pods/Headers/Public/JPush/JPUSHService.h:101:39: note: 'action' has been explicitly marked deprecated here
@property (nonatomic, copy) NSString action NS_DEPRECATED_IOS(8_0, 10_0); // 弹框的按钮显示的内容(IOS 8默认为"打开", 其他默认为"启动",iOS10以上无效)
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:551:1: warning: implementing deprecated method [-Wdeprecated-implementations]
(void)application:(UIApplication )application didRegisterUserNotificationSettings:(UIUserNotificationSettings )notificationSettings {
^
In module 'Flutter' imported from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.h:1:
/Users/mac/Desktop/dy_bb_app/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:74:1: note: method 'application:didRegisterUserNotificationSettings:' declared here
(void)application:(UIApplication)application
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:553:74: warning: 'UIUserNotificationTypeSound' is deprecated: first deprecated in
iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations]
@"sound" : [NSNumber numberWithBool:notificationSettings.types & UIUserNotificationTypeSound],
^
In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note:
'UIUserNotificationType' has been explicitly marked deprecated here
typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) {
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:554:74: warning: 'UIUserNotificationTypeBadge' is deprecated: first deprecated in
iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations]
@"badge" : [NSNumber numberWithBool:notificationSettings.types & UIUserNotificationTypeBadge],
^
In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note:
'UIUserNotificationType' has been explicitly marked deprecated here
typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) {
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:555:74: warning: 'UIUserNotificationTypeAlert' is deprecated: first deprecated in
iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations]
@"alert" : [NSNumber numberWithBool:notificationSettings.types & UIUserNotificationTypeAlert],
^
In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note:
'UIUserNotificationType' has been explicitly marked deprecated here
typedef NS_OPTIONS(NSUInteger, UIUserNotificationType) {
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:570:1: warning: implementing deprecated method [-Wdeprecated-implementations]
-(void)application:(UIApplication )application didReceiveLocalNotification:(UILocalNotification *)notification {
^
In module 'Flutter' imported from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.h:1:
/Users/mac/Desktop/dy_bb_app/ios/Flutter/Flutter.framework/Headers/FlutterPlugin.h:98:1: note: method 'application:didReceiveLocalNotification:' declared here
(void)application:(UIApplication*)application
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:646:19: error: use of undeclared identifier 'JPAuthorizationStatusAuthorized'; did
you mean 'UNAuthorizationStatusAuthorized'?
if (status == JPAuthorizationStatusAuthorized) {
^~~~~~~
UNAuthorizationStatusAuthorized
In module 'UserNotifications' imported from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:3:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:20:5: note:
'UNAuthorizationStatusAuthorized' declared here
UNAuthorizationStatusAuthorized,
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:646:16: warning: comparison between pointer and integer ('id' and 'NSInteger' (aka
'long')) [-Wpointer-integer-compare]
if (status == JPAuthorizationStatusAuthorized) {
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:606:168: warning: conflicting parameter types in implementation of
'jpushNotificationCenter:didReceiveNotificationResponse:withCompletionHandler:': 'void (^__strong)(void)' vs 'void (^__strong)()' [-Wmismatched-parameter-types]
In file included from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:6:
/Users/mac/Desktop/dy_bb_app/ios/Pods/Headers/Public/JPush/JPUSHService.h:656:171: note: previous definition is here
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:30:17: warning: class 'JPushPlugin' does not conform to protocol
'JPUSHRegisterDelegate' [-Wprotocol]
@implementation JPushPlugin {
^
/Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:30:17: note: add stubs for missing protocol requirements
20 warnings and 8 errors generated.
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
Error output from Xcode build: ↳ 2020-10-13 08:59:16.259 xcodebuild[6526:1001643] [MT] PluginLoading: Required plug-in compatibility UUID 6C8909A0-F208-4C21-9224-504F9A70056E for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs 2020-10-13 08:59:18.127 xcodebuild[6526:1001786] DTDeviceKit: deviceType from 00008030-000620AA1ED9802E was NULL BUILD FAILED
Xcode's output: ↳ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:551:87: warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationSettings [-Wdeprecated-declarations]
~~~~~ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:448:76: error: expected ')' [JPUSHService requestNotificationAuthorization:^(JPAuthorizationStatus status) { ^ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:448:53: note: to match this '(' [JPUSHService requestNotificationAuthorization:^(JPAuthorizationStatus status) { ^ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:448:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] [JPUSHService requestNotificationAuthorization:^(JPAuthorizationStatus status) { ^ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:450:13: error: use of undeclared identifier 'status' if (status == JPAuthorizationStatusAuthorized) { ^ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:450:23: error: use of undeclared identifier 'JPAuthorizationStatusAuthorized'; did you mean 'UNAuthorizationStatusAuthorized'? if (status == JPAuthorizationStatusAuthorized) { ^~~~~~~UNAuthorizationStatusAuthorized In module 'UserNotifications' imported from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:3: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:20:5: note: 'UNAuthorizationStatusAuthorized' declared here UNAuthorizationStatusAuthorized, ^ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:448:19: error: no known class method for selector 'requestNotificationAuthorization:' [JPUSHService requestNotificationAuthorization:^(JPAuthorizationStatus status) { ^~~~~~~~ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:464:19: error: no known class method for selector 'openSettingsForNotification:' [JPUSHService openSettingsForNotification:^(BOOL success) { ^~~~~~~ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:486:36: warning: 'UIApplicationLaunchOptionsLocalNotificationKey' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:] [-Wdeprecated-declarations] if ([launchOptions valueForKey:UIApplicationLaunchOptionsLocalNotificationKey]) { ^ In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:504:50: note: 'UIApplicationLaunchOptionsLocalNotificationKey' has been explicitly marked deprecated here UIKIT_EXTERN UIApplicationLaunchOptionsKey const UIApplicationLaunchOptionsLocalNotificationKey NS_SWIFT_NAME(localNotification) API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos); // userInfo contains a UILocalNotification ^ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:487:9: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations] UILocalNotification localNotification = [launchOptions valueForKey:UIApplicationLaunchOptionsLocalNotificationKey]; ^ In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here @interface UILocalNotification : NSObject<NSCopying, NSCoding> ^ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:487:77: warning: 'UIApplicationLaunchOptionsLocalNotificationKey' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:] [-Wdeprecated-declarations] UILocalNotification localNotification = [launchOptions valueForKey:UIApplicationLaunchOptionsLocalNotificationKey]; ^ In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:504:50: note: 'UIApplicationLaunchOptionsLocalNotificationKey' has been explicitly marked deprecated here UIKIT_EXTERN UIApplicationLaunchOptionsKey const UIApplicationLaunchOptionsLocalNotificationKey NS_SWIFT_NAME(localNotification) API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos); // userInfo contains a UILocalNotification ^ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:493:93: warning: 'UILocalNotificationDefaultSoundName' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's +[UNNotificationSound defaultSound] [-Wdeprecated-declarations] localNotificationEvent[@"soundName"] = [localNotification.soundName isEqualToString:UILocalNotificationDefaultSoundName] ? @"" : localNotification.soundName; ^ In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:62:30: note: 'UILocalNotificationDefaultSoundName' has been explicitly marked deprecated here UIKIT_EXTERN NSString const UILocalNotificationDefaultSoundName API_DEPRECATED("Use UserNotifications Framework's +[UNNotificationSound defaultSound]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos); ^ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:511:17: warning: 'fireDate' is deprecated: first deprecated in iOS 10.0 [-Wdeprecated-declarations] trigger.fireDate = fireDate; ^ In file included from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:6: /Users/mac/Desktop/dy_bb_app/ios/Pods/Headers/Public/JPush/JPUSHService.h:123:37: note: 'fireDate' has been explicitly marked deprecated here @property (nonatomic, copy) NSDate fireDate NS_DEPRECATED_IOS(2_0, 10_0); // 用来设置触发推送的时间,iOS10以上无效 ^ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:519:13: warning: 'action' is deprecated: first deprecated in iOS 10.0 [-Wdeprecated-declarations] content.action = @"action"; ^ In file included from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:6: /Users/mac/Desktop/dy_bb_app/ios/Pods/Headers/Public/JPush/JPUSHService.h:101:39: note: 'action' has been explicitly marked deprecated here @property (nonatomic, copy) NSString action NS_DEPRECATED_IOS(8_0, 10_0); // 弹框的按钮显示的内容(IOS 8默认为"打开", 其他默认为"启动",iOS10以上无效) ^ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:551:1: warning: implementing deprecated method [-Wdeprecated-implementations]~~~~~~UNAuthorizationStatusAuthorized In module 'UserNotifications' imported from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:3: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:20:5: note: 'UNAuthorizationStatusAuthorized' declared here UNAuthorizationStatusAuthorized, ^ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:646:16: warning: comparison between pointer and integer ('id' and 'NSInteger' (aka 'int')) [-Wpointer-integer-compare] if (status == JPAuthorizationStatusAuthorized) {~~~~~ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:448:76: error: expected ')' [JPUSHService requestNotificationAuthorization:^(JPAuthorizationStatus status) { ^ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:448:53: note: to match this '(' [JPUSHService requestNotificationAuthorization:^(JPAuthorizationStatus status) { ^ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:448:52: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] [JPUSHService requestNotificationAuthorization:^(JPAuthorizationStatus status) { ^ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:450:13: error: use of undeclared identifier 'status' if (status == JPAuthorizationStatusAuthorized) { ^ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:450:23: error: use of undeclared identifier 'JPAuthorizationStatusAuthorized'; did you mean 'UNAuthorizationStatusAuthorized'? if (status == JPAuthorizationStatusAuthorized) { ^~~~~~~UNAuthorizationStatusAuthorized In module 'UserNotifications' imported from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:3: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:20:5: note: 'UNAuthorizationStatusAuthorized' declared here UNAuthorizationStatusAuthorized, ^ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:448:19: error: no known class method for selector 'requestNotificationAuthorization:' [JPUSHService requestNotificationAuthorization:^(JPAuthorizationStatus status) { ^~~~~~~~ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:464:19: error: no known class method for selector 'openSettingsForNotification:' [JPUSHService openSettingsForNotification:^(BOOL success) { ^~~~~~~ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:486:36: warning: 'UIApplicationLaunchOptionsLocalNotificationKey' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:] [-Wdeprecated-declarations] if ([launchOptions valueForKey:UIApplicationLaunchOptionsLocalNotificationKey]) { ^ In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:504:50: note: 'UIApplicationLaunchOptionsLocalNotificationKey' has been explicitly marked deprecated here UIKIT_EXTERN UIApplicationLaunchOptionsKey const UIApplicationLaunchOptionsLocalNotificationKey NS_SWIFT_NAME(localNotification) API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos); // userInfo contains a UILocalNotification ^ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:487:9: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations] UILocalNotification localNotification = [launchOptions valueForKey:UIApplicationLaunchOptionsLocalNotificationKey]; ^ In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here @interface UILocalNotification : NSObject<NSCopying, NSCoding> ^ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:487:77: warning: 'UIApplicationLaunchOptionsLocalNotificationKey' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:] [-Wdeprecated-declarations] UILocalNotification localNotification = [launchOptions valueForKey:UIApplicationLaunchOptionsLocalNotificationKey]; ^ In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:504:50: note: 'UIApplicationLaunchOptionsLocalNotificationKey' has been explicitly marked deprecated here UIKIT_EXTERN UIApplicationLaunchOptionsKey const UIApplicationLaunchOptionsLocalNotificationKey NS_SWIFT_NAME(localNotification) API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos); // userInfo contains a UILocalNotification ^ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:493:93: warning: 'UILocalNotificationDefaultSoundName' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's +[UNNotificationSound defaultSound] [-Wdeprecated-declarations] localNotificationEvent[@"soundName"] = [localNotification.soundName isEqualToString:UILocalNotificationDefaultSoundName] ? @"" : localNotification.soundName; ^ In module 'UIKit' imported from /Users/mac/Desktop/dy_bb_app/ios/Pods/Target Support Files/jpush_flutter/jpush_flutter-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:62:30: note: 'UILocalNotificationDefaultSoundName' has been explicitly marked deprecated here UIKIT_EXTERN NSString const UILocalNotificationDefaultSoundName API_DEPRECATED("Use UserNotifications Framework's +[UNNotificationSound defaultSound]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos); ^ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:511:17: warning: 'fireDate' is deprecated: first deprecated in iOS 10.0 [-Wdeprecated-declarations] trigger.fireDate = fireDate; ^ In file included from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:6: /Users/mac/Desktop/dy_bb_app/ios/Pods/Headers/Public/JPush/JPUSHService.h:123:37: note: 'fireDate' has been explicitly marked deprecated here @property (nonatomic, copy) NSDate fireDate NS_DEPRECATED_IOS(2_0, 10_0); // 用来设置触发推送的时间,iOS10以上无效 ^ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:519:13: warning: 'action' is deprecated: first deprecated in iOS 10.0 [-Wdeprecated-declarations] content.action = @"action"; ^ In file included from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:6: /Users/mac/Desktop/dy_bb_app/ios/Pods/Headers/Public/JPush/JPUSHService.h:101:39: note: 'action' has been explicitly marked deprecated here @property (nonatomic, copy) NSString action NS_DEPRECATED_IOS(8_0, 10_0); // 弹框的按钮显示的内容(IOS 8默认为"打开", 其他默认为"启动",iOS10以上无效) ^ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:551:1: warning: implementing deprecated method [-Wdeprecated-implementations]~~~~~~UNAuthorizationStatusAuthorized In module 'UserNotifications' imported from /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:3: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.0.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:20:5: note: 'UNAuthorizationStatusAuthorized' declared here UNAuthorizationStatusAuthorized, ^ /Users/mac/applications/flutter/.pub-cache/git/jpush-flutter-plugin-2beb69f34f16f853059112af213583c3a01b7cad/ios/Classes/JPushPlugin.m:646:16: warning: comparison between pointer and integer ('id' and 'NSInteger' (aka 'long')) [-Wpointer-integer-compare] if (status == JPAuthorizationStatusAuthorized) {