Search code examples
iosobjective-cxcodegoogle-plusgdata

GData & Google plus conflict


Hello iOS Development gurus! I hope your code would work out clean and smooth!

I need your help!

I need my app to be able to share through the gmail and google+. So I use two libraries for that: Google plus framework package (GoogleOpenSource.framework, GooglePlus.bundle & GooglePlus.framework) and Gdata library (libGDataTouchStaticLib.a) + headers.

Both libraries are working out for me fine while I use them in separate projects, but when I add them to one project as I need now and build it for the device (if simulator it is still ok) I get the following error: .

105 duplicate symbols for architecture armv7

So as I understand 105 ivars in the following classes are getting duplicated in the project: GTMHTTPFetcher, GTMHTTPFetcherService, GTMHTTPFetchHistory.

Can anyone help me to avoid this problem?


Solution

  • I did not find the way to get them working together, so I've found out a workaround here:

    http://code.tutsplus.com/tutorials/accessing-google-services-using-the-oauth-20-protocol--mobile-18394

    and here

    Not able to get access token for google+ through Oauth 2.0 in iPhone application