[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.

Compilation:

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

Archiving:

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!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s