MGTwitterEngine for Iphone SDK errors

iphone

Solution

Although I've never used MGTwitterEngine, that error basically says that you are missing yajl library.

You can install it manually by doing (I assume you install to default /usr/local location):

git clone git://github.com/lloyd/yajl
cd yajl
./configure
sudo make install

Then in your xcode project:

Add libyajl.dylib or libyajl_s.a (dynamic/static - whichever you prefer, either should be located in /usr/local/lib/) to 'external frameworks and libraries' in your project tree. In project settings add "/usr/local/include/yajl/" and (possibly) "/usr/local/include/" to Header Search Paths (in Search Paths section).

After that it should build.

Problem

I'm trying to get MGTwitterEngine to work for the iPhone SDK. I've followed the read me below and now I keep getting the following errors: TCDownload.h: No such file or directory yajl_parse.h: No such file or directory Now, I've done a search on my system and don't have either one of them. So am I missing something? Also, I've downloaded the MGTwitterEngine code within the last couple days from gitub. READ ME Add libxml2.dylib in Other Frameworks. You'll find the library in: /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/usr/lib/libxml2.dylib Add "$SDKROOT/usr/include/libxml2" as a Header Search Path in your Project Settings.

Original source