Support Topics Documentation Slack YouTube Blog

Different linker error -- what's wrong?

(Roger Wistar) #1

In my attempt to fix my Mach-O Linker Error, I ran “pod deintegrate” and “pod install”, but then when I tried to build my project I got this error:

Undefined symbols for architecture x86_64:
OBJC_CLASS$_UNNotificationAttachment”, referenced from:
objc-class-ref in libbackendless.a(BackendlessPushHelper.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Can anyone tell me what this means?

(Roger Wistar) #2

Never mind – I added the UserNotifications.framework and then it worked properly.

Why isn’t that framework included in the template?

(Olga Danylova) #3

Hello Roger,

you should uncomment the #use_frameworks line when installing the pod.

Regards, Olga