qwertzy00 / gdata-objectivec-client

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

Google OAuth2 Compilation Problem #148

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Copy the google api source into the project
2.Build it

What is the expected output? What do you see instead?
Build should be successful,but i got these errors:

Ld 
/Users/svc/Library/Developer/Xcode/DerivedData/NewPicasa-bvfnwvuavyedbfbfrwmviue
kbply/Build/Products/Debug/NewPicasa.app/Contents/MacOS/NewPicasa normal x86_64
    cd "/Users/svc/Documents/apple projects/NewPicasa"
    setenv MACOSX_DEPLOYMENT_TARGET 10.8
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -L/Users/svc/Library/Developer/Xcode/DerivedData/NewPicasa-bvfnwvuavyedbfbfrwmviuekbply/Build/Products/Debug -F/Users/svc/Library/Developer/Xcode/DerivedData/NewPicasa-bvfnwvuavyedbfbfrwmviuekbply/Build/Products/Debug -filelist /Users/svc/Library/Developer/Xcode/DerivedData/NewPicasa-bvfnwvuavyedbfbfrwmviuekbply/Build/Intermediates/NewPicasa.build/Debug/NewPicasa.build/Objects-normal/x86_64/NewPicasa.LinkFileList -mmacosx-version-min=10.8 -fobjc-arc -fobjc-link-runtime -framework Security -framework SystemConfiguration -framework Cocoa -o /Users/svc/Library/Developer/Xcode/DerivedData/NewPicasa-bvfnwvuavyedbfbfrwmviuekbply/Build/Products/Debug/NewPicasa.app/Contents/MacOS/NewPicasa

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_GTMOAuth2WindowController", referenced from:
      objc-class-ref in SVCAppDelegate.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

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

Running on Xcode 4.4(Mountain Lion)

Included Security Frameworks and System Configuration Framwork

Please provide any additional information below.

Original issue reported on code.google.com by kamth...@gmail.com on 4 Aug 2012 at 1:40

GoogleCodeExporter commented 9 years ago
Applications need the GTMOAuth2WindowController.h/m files and other GTMOAuth2 
files for authentication.

Information on building applications with the library is at 
https://code.google.com/p/gdata-objectivec-client/wiki/BuildingTheLibrary

The issue tracker is for reporting bugs in the library itself; please use the 
discussion group for questions on using the library.  
<http://groups.google.com/group/gdata-objectivec-client>

Original comment by grobb...@google.com on 4 Aug 2012 at 2:03

GoogleCodeExporter commented 9 years ago
I Included those files(required for authentication) in the project.

Original comment by kamth...@gmail.com on 4 Aug 2012 at 2:05