Parth Bhatt
Parth Bhatt

Reputation: 19479

Integrating Twitter API into iPhone app gives errors

In my iPhone app there is a requirement for Twitter API integration.

Here the problem comes when I integrate the Twitter+ OAuth SDK into my app. It gives errors as shown below in the screen shot.

I have added the xml2.dylib library to my app but still it gives some errors.

alt text

Upvotes: 1

Views: 374

Answers (2)

Parth Bhatt
Parth Bhatt

Reputation: 19479

I got the answer.

I am posting it here because I don't want to put answer to my own question to earn reputation :). I made a silly mistake.

I didn't add the "Header Search Paths" in project settings as "\usr\include\xml2".

Upvotes: 3

Naved
Naved

Reputation: 4128

Remove the header file(s) which is importing "xmlversion.h", "tree.h", "xmlIO.h" from your application target.
In one of my project, I am using MGTwitterEngine libray. I was facing the same problem while inegrating the library with my application. Then I read following link which helped me to solve the problem
http://aralbalkan.com/3133

Upvotes: 1

Related Questions