ios icon indicating copy to clipboard operation
ios copied to clipboard

Issue when Archive

Open Akshay9457 opened this issue 4 years ago • 3 comments

the error will be shown when i archive project ,but on debug mode it works without any problem

I imported #import <UserNotifications/UserNotifications.h> #import <RNCPushNotificationIOS.h>

Also I have added #IF Debug Debug line to AppDelegate.m also imported

#IF Debug #import <UserNotifications/UNUserNotificationCenter.h> and i added UNUserNotificationCenterDelegate to protocols in AppDelegete.h ![Screenshot 2020-11-26 at 12 24 26 PM](https://user-images.githubusercontent.com Screenshot 2020-11-26 at 12 25 10 PM /75062604/100317414-5596e980-2fe2-11eb-8574-49a3f9000351.png)

Akshay9457 avatar Nov 26 '20 06:11 Akshay9457

same issue

tranthientrung avatar Nov 26 '20 09:11 tranthientrung

Hey, I just resolved with this #import <UserNotifications/UserNotifications.h> #import <RNCPushNotificationIOS.h> #ifdef FB_SONARKIT_ENABLED //import above this line

tranthientrung avatar Nov 27 '20 04:11 tranthientrung

Hey, I just resolved with this #import <UserNotifications/UserNotifications.h> #import <RNCPushNotificationIOS.h> #ifdef FB_SONARKIT_ENABLED //import above this line

This actually worked to solve my problem as well. If anyone finds that the headers placed after the #ifdef are not resolving, moving them above that line fixes that problem.

worldlee78 avatar Feb 17 '21 20:02 worldlee78