`In file included from /Users/admin/Documents/Dev/RN_Projects/BabyCourse/node_modules/react-native-firebase/ios/RNFirebase/messaging/RNFirebaseMessaging.m:1:
/Users/admin/Documents/Dev/RN_Projects/BabyCourse/node_modules/react-native-firebase/ios/RNFirebase/messaging/RNFirebaseMessaging.h:19:54: warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationSettings [-Wdeprecated-declarations]
- (void)didRegisterUserNotificationSettings:(nonnull UIUserNotificationSettings *)notificationSettings;
^
In module 'UIKit' imported from /Users/admin/Documents/Dev/RN_Projects/BabyCourse/ios/Pods/Target Support Files/RNFirebase/RNFirebase-prefix.pch:2:
/Applications/
Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:44:12: note: 'UIUserNotificationSettings' has been explicitly marked deprecated here
@interface UIUserNotificationSettings : NSObject
^
/Users/admin/Documents/Dev/RN_Projects/BabyCourse/node_modules/react-native-firebase/ios/RNFirebase/messaging/RNFirebaseMessaging.m:56:47: warning: 'UIUserNotificationSettings' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationSettings [-Wdeprecated-declarations]
- (void) didRegisterUserNotificationSettings:(UIUserNotificationSettings *)notificationSettings {
^
In module 'UIKit' imported from /Users/admin/Documents/Dev/RN_Projects/BabyCourse/ios/Pods/Target Support Files/RNFirebase/RNFirebase-prefix.pch:2:
/Applications/
Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:44:12: note: 'UIUserNotificationSettings' has been explicitly marked deprecated here
@interface UIUserNotificationSettings : NSObject
^
/Users/admin/Documents/Dev/RN_Projects/BabyCourse/node_modules/react-native-firebase/ios/RNFirebase/messaging/RNFirebaseMessaging.m:91:51: error: expected a type
- (void)applicationReceivedRemoteMessage:(nonnull FIRMessagingRemoteMessage *)remoteMessage {
^
/Users/admin/Documents/Dev/RN_Projects/BabyCourse/node_modules/react-native-firebase/ios/RNFirebase/messaging/RNFirebaseMessaging.m:99:28: error: expected a type
didReceiveMessage:(nonnull FIRMessagingRemoteMessage *)remoteMessage {
^
/Users/admin/Documents/Dev/RN_Projects/BabyCourse/node_modules/react-native-firebase/ios/RNFirebase/messaging/RNFirebaseMessaging.m:278:50: error: expected a type
- (NSDictionary*)parseFIRMessagingRemoteMessage:(FIRMessagingRemoteMessage *)remoteMessage {
^
/Users/admin/Documents/Dev/RN_Projects/BabyCourse/node_modules/react-native-firebase/ios/RNFirebase/messaging/RNFirebaseMessaging.m:44:30: error: property 'shouldEstablishDirectChannel' not found on object of type 'FIRMessaging *'
[FIRMessaging messaging].shouldEstablishDirectChannel = YES;
^
/Users/admin/Documents/Dev/RN_Projects/BabyCourse/node_modules/react-native-firebase/ios/RNFirebase/messaging/RNFirebaseMessaging.m:57:39: warning: 'UIUserNotificationTypeNone' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNAuthorizationOptions [-Wdeprecated-declarations]
if (notificationSettings.types == UIUserNotificationTypeNone) {
^
In module 'UIKit' imported from /Users/admin/Documents/Dev/RN_Projects/BabyCourse/ios/Pods/Target Support Files/RNFirebase/RNFirebase-prefix.pch:2:
/Applications/
Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h:17:32: note: 'UIUserNotificationType' has been explicitly marked dep