Hi, i upgraded to the last version of sdkbox onesignal and it doesn’t work on iOS. Error:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_UNNotificationAttachment", referenced from:
objc-class-ref in OneSignal(OneSignalHelper.o)
"_OBJC_CLASS_$_UNNotificationCategory", referenced from:
objc-class-ref in OneSignal(OneSignalHelper.o)
"_OBJC_CLASS_$_UNNotificationRequest", referenced from:
objc-class-ref in OneSignal(OneSignalHelper.o)
"_OBJC_CLASS_$_UNNotificationSound", referenced from:
objc-class-ref in OneSignal(OneSignalHelper.o)
"_OBJC_CLASS_$_UNTimeIntervalNotificationTrigger", referenced from:
objc-class-ref in OneSignal(OneSignalHelper.o)
"_OBJC_CLASS_$_UNNotificationAction", referenced from:
objc-class-ref in OneSignal(OneSignalHelper.o)
"_OBJC_CLASS_$_UNMutableNotificationContent", referenced from:
objc-class-ref in OneSignal(OneSignalHelper.o)
"_OBJC_CLASS_$_UNUserNotificationCenter", referenced from:
objc-class-ref in OneSignal(OneSignalHelper.o)
objc-class-ref in OneSignal(OneSignalNotificationSettingsIOS10.o)
objc-class-ref in OneSignal(UNUserNotificationCenter+OneSignal.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I’m with the last iOS (12) and xCode 10.
In the project root directory i replaced OneSignal.framework
with an old version, and now it works. So, i resolved the problem but i want to report this issue. It sounds like the problem is related to the OneSignal.framework
that sdkbox installs.
Thanks