adrian
adrian

Reputation: 4594

issue in including ASIHTTPRequest into iphone project

I have an app in which I have to use ASIHTTPRequest in order to receive some JSON data from server side. For this I have done the following:

included this classes into my project

alt text

and this

alt text

and also this

alt text

I also included the following frameworks:

alt text

and I get 64 errors looking like this:

alt text

I want to use only this #import "ASIHTTPRequest.h" but I don't know what classes to import.Please someone tell me what should I include more in order for this to work.Thank you.

Upvotes: 0

Views: 452

Answers (3)

Chatar Veer Suthar
Chatar Veer Suthar

Reputation: 15639

Include to your project

  Reachability.h 

  Reachability.m

Add (Project->Edit Project Settings->Build) and find the "Search Paths". In "Header Search Paths" add the following path:

/usr/include/libxml2

Happy Coding :-)

Upvotes: 1

j_freyre
j_freyre

Reputation: 4738

For Reachability exception, you must include some other files ;)

From: http://allseeing-i.com/ASIHTTPRequest/Setup-instructions

iPhone projects must also include:

  • ASIAuthenticationDialog.h

  • ASIAuthenticationDialog.m

  • Reachability.h (in the External/Reachability folder)

  • Reachability.m (in the External/Reachability folder)

Upvotes: 0

iProgrammer
iProgrammer

Reputation: 3107

See this ASIHTTPRequest You need this to get json Data from server

Upvotes: 0

Related Questions