0

I am currently trying to make a simple "Server Status" app for a game I play, All it needs to do is parse XML from a URL and output the result. I am currently stuck on these errors which I think have something to do with the way I linked/incorporated my GDataXML

See Images for Error(s), Sorry I could post picture directly. Not enough reputation:

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

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

2 Answers2

0

It might be as you suspect, the class you are trying to use isn't incorporated in your project correctly, or linked to the target correctly. Maybe this SO post will help you more.

Community
  • 1
  • 1
0

Linker can't find object for GDataXML. Looks like you need build GDataXML and add path where library built to the linker.

PSyton
  • 908
  • 11
  • 18
  • What is the terminal command to do so? For some reason I don't think I am installing GDataXML correctly. When I go to build it, I use: svn checkout http://gdata-objectivec-client.googlecode.com/svn/trunk/gdata-objectivec-client-read-only – Jared Jackson Jul 25 '12 at 05:07
  • When you checked out sources you need to open GData.xcodeproj from Sources folder. When you build it you can setup project as you need (for example, release or debug). After project has built you need add generated framework into external frameworks for your project. – PSyton Jul 25 '12 at 05:34