Backendless Support
 
Solved

Different linker error -- what's wrong?

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?

Leave a Comment

Comments (2)

photo
1

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

Why isn't that framework included in the template?

photo
1

Hello Roger,

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

Regards, Olga