4

I am developing an iPhone application (ios 5) and I am trying to use ASIHTTPRequest to facilitate my async requests. I cannot get my project to build after following the instructions exactly how they are written on the project site.

It seems I cannot link to this lib correctly

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

This project is using ARC perhaps that's the issue? Has anyone run into this issue?

Thanks!

Nick
  • 19,198
  • 51
  • 185
  • 312
  • perhaps you are missing a required framework.I used to get suck kind of errors when forgetting to include a framework – John Smith Jul 25 '12 at 22:55

1 Answers1

5

Yes it is due to your project using ARC. Check out this post to exclude the library files from ARC. And it should look like something like this when you are done:

enter image description here

Community
  • 1
  • 1
Stunner
  • 12,025
  • 12
  • 86
  • 145
  • 1
    Yes that was it. I also had to add the source files to 'Compile Sources'. I would have expected xCode to do this. Anyways.. this was the solution. Thanks! – Nick Jul 25 '12 at 22:57