Latest Google Plus iOS SDK 1.7.1 does not support x86_64 architecture
I have the latest Google Plus iOS SDK driven by cocoapods in my project.
pod 'google-plus-ios-sdk' ~> '1.7.1' #(Also tried 1.5.1)
Simple code like:
#import <GooglePlus/GooglePlus.h>
[GPPSignIn sharedInstance].clientID = kClientID;
I am getting 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)
In me $(inherited)
and -ObjC
in mine Other Linker Flags
. Does the Google Plus iOS SDK support x84_64 architecture? How do I fix this problem? Thanks to
source to share
I looked at a brand new Xcode project and copied the other linker flags to my current project and it worked.
You may need to add a list of binaries like here
And set other linker flags
To $ (inherited) -ObjC -l "C ++" -l "icucore" -l "z" -framework "AVFoundation" -framework "Accelerate" -framework "CoreBluetooth" -framework "CoreData" -framework "CoreGraphics" - framework "CoreLocation" -framework "CoreText" -camera "GLKit" -camera "GoogleMaps" -fragmentation "ImageIO" -fragmentation "OpenGLES" -camera "QuartzCore" -camera "Security" -camera "SystemConfiguration"
source to share