Reputation: 4594
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
and this
and also this
I also included the following frameworks:
and I get 64 errors looking like this:
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
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
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
Reputation: 3107
See this ASIHTTPRequest You need this to get json Data from server
Upvotes: 0