Search code examples
objective-clinker-errorsundefined-symbol

How to resolve "Undefined Symbol" error from Linker while moving to 64-bit?


I have an app with Xcode 6. It worked successfully until I changed the architecture to 64-bit. The linker then gives this error message:

Undefined symbols for architecture 64bit:

"_OBJC_CLASS_$_GADBannerView", referenced from: objc-class-ref in Appdelegate.o

"_OBJC_CLASS_$_GADRequest", referenced from: objc-class-ref in Appdelegate.o

and many other similar. I already checked the framework linkers, and they are are ok. How can I resolve this?

Thanks


Solution

  • Looks like Admob was upgraded back in 11/13 to support 64bit, so you should be able to just upgrade your copy: http://googleadsdeveloper.blogspot.com/2013/11/new-google-mobile-ads-sdk-for-ios.html