Open Akshay9457 opened 3 years ago
same issue
Hey, I just resolved with this
Hey, I just resolved with this
import <UserNotifications/UserNotifications.h>
import
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.
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
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
/75062604/100317414-5596e980-2fe2-11eb-8574-49a3f9000351.png)