I have the latest Google Plus iOS SDK managed by cocoapods in my project.
pod 'google-plus-ios-sdk' ~> '1.7.1' #(Also tried 1.5.1)
Simple code as:
#import <GooglePlus/GooglePlus.h>
[GPPSignIn sharedInstance].clientID = kClientID;
I get this error:
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_GPPSignIn", referenced from:
objc-class-ref in GooglePlusManager.o
"_OBJC_CLASS_$_GPPURLHandler", referenced from:
objc-class-ref in GooglePlusManager.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 have $(inherited)
and -ObjC
in my Other Linker Flags
. Does Google Plus iOS SDK not support x84_64 architecture at all? How do I fix this issue? Thanks