jmichael218 / gdata-objectivec-client

Automatically exported from code.google.com/p/gdata-objectivec-client
Other
0 stars 0 forks source link

Incorrect build instruction: OAuth flag "-DGDATA_INCLUDE_OAUTH2=1" should be "-DGTM_INCLUDE_OAUTH2=1" #110

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add "-DGDATA_INCLUDE_OAUTH2=1" C flag in the static lib target
2.
3.

What is the expected output? What do you see instead?
Undefined symbols for architecture armv6:
  "_OBJC_CLASS_$_GTMOAuth2ViewControllerTouch", referenced from:
      objc-class-ref in xxx.o
ld: symbol(s) not found for architecture armv6
collect2: ld returned 1 exit status

What version of the product are you using? On what operating system?
iOS4.3

Please provide any additional information below.
The flag should be -DGTM_INCLUDE_OAUTH2=1 instead

Original issue reported on code.google.com by mano...@gmail.com on 24 Sep 2011 at 10:33

GoogleCodeExporter commented 9 years ago
Are you referring to a change you made in your own project?

There is no -DGDATA_INCLUDE_OAUTH2=1 flag by default in the project, according 
to

http://code.google.com/p/gdata-objectivec-client/source/browse/trunk/Source/GDat
a.xcodeproj/project.pbxproj

Original comment by grobb...@google.com on 26 Sep 2011 at 6:32

GoogleCodeExporter commented 9 years ago
Pl refer to 
http://code.google.com/p/gdata-objectivec-client/wiki/BuildingTheLibrary#Removin
g_Unneeded_Code 

"If your project compiles the OAuth 2 classes for authentication, also define 
the conditional -DGDATA_INCLUDE_OAUTH2=1 in Other C Flags."

Original comment by mano...@gmail.com on 27 Sep 2011 at 1:13

GoogleCodeExporter commented 9 years ago
Thank you for pointing that out. I have corrected the documentation wiki page.

Original comment by grobb...@google.com on 27 Sep 2011 at 1:19