Torsten2217 / google-plus-platform

Automatically exported from code.google.com/p/google-plus-platform
0 stars 0 forks source link

GooglePlus SDK with AmazonLogin conflict on iOS #888

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
How does the product behavior differ from your expectations?

Doesn't allow to build the project with link error:
duplicate symbol _kClientId in:  
../AmazonLoginAndGPlus/AmazonLoginWithGooglePlus/Frameworks/LoginWithAmazon.fram
ework/LoginWithAmazon(AIConstants.o)  
../AmazonLoginAndGPlus/AmazonLoginWithGooglePlus/Frameworks/GooglePlus.framework
/GooglePlus(GPPOzLogger.o)
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Describe, step-by-step, how to reproduce this issue.

Just add both libraries to one project, and add a simple call to each library. 
Can be downloaded:
http://login.amazon.com/ios
https://developers.google.com/+/mobile/ios/getting-started

I've created simple project which can be downloaded here:
https://github.com/DarkAnGth/AmazonLoginAndGPlus

When does the bug occur?

Each time :)

Describe any workarounds you have found

I think it is required to rename _kClientId to something more specific, not to 
cause a conflict. Posted same problem to amazon team.

Original issue reported on code.google.com by DarkAn...@gmail.com on 17 Jun 2014 at 3:26

GoogleCodeExporter commented 9 years ago

I have the same problem, but with Amazon's GameCircle. The same symbol shared 
by both Google & Amazon.

duplicate symbol _kClientId in:
    /*****/google-plus-ios-sdk-1.7.1/GooglePlus.framework/GooglePlus(GPPOzLogger.o)
    /*****/Libraries/GameCircle.a(AIConstants.o)

Is this issue going to be resolved? I notice that the was raised 5 months ago.

Original comment by kevinrco...@gmail.com on 17 Nov 2014 at 11:11

GoogleCodeExporter commented 9 years ago
Nope
Not using LoginWithAmazon for now to avoid this issue.

Original comment by DarkAn...@gmail.com on 17 Nov 2014 at 1:04