[iOS] Undefined symbols for architecture arm64 _OBJC_CLASS_$_GPPShare when integrating GooglePlus SDK.

This has been a pretty annoying issue, first when Compiling the App, and then Archiving it for App Store submission. This is how i solved all the issues related to GooglePlus SDK for iOS.


Inside the lib/ folder, there are two libs: libGooglePlusUniversal.a and libGooglePlus.a, i removed this last one so only libGooglePlusUniversal.a remained. This way i could compile without errors


As it’s explained in this StackOverflow question.

I had to go to Build Settings, and inside “Architectures”, select YES in “Build for Active Architectures” (“release” was NO by default), and inside “Base SDK”, put “Latest iOS (iOS 7.1)”.

Captura de pantalla 2014-10-23 a la(s) 19.42.41

Apart from that, also had to select a development team in the “Basic” section, and “7.1” as the deployment target.

After all these changes, I could archive the App and submit to the App Store.

Hope it helps!