开发者

How to setup MGTwitterEngine

开发者 https://www.devze.com 2022-12-31 15:10 出处:网络
Just downloaded from github ... tried to build the xcode project and got over a hundred errors.TouchJSON, OAuthConsumer and yajl folders don\'t even exist (which开发者_JAVA百科 looks like the problem)

Just downloaded from github ... tried to build the xcode project and got over a hundred errors. TouchJSON, OAuthConsumer and yajl folders don't even exist (which开发者_JAVA百科 looks like the problem).

Did I pooch something? What do I need to do to recover?

Thanks


Its all in there so that you have many possible ways to consume the responses. It is a pain in the butt to just grab and try to go if you don't know what to expect. The easiest way to get it all up and running (if you aren't going to use a third party library and simply use native xml parsing) is to simply remove the files that reference them. Just delete any file that has "TouchJSON" or "YAJL" in it's filename. You will have to get the OAuth lib since twitter is killing basic auth next month. Brad's post above has a link to that. If you want to use the JSON versions, be sure to set the define statements YAJL_AVAILABLE or TOUCHJSON_AVAILABLE to 1 so that MGTwitterengine knows to use it.


You need to install TouchJSON, and various other modules, like YAJL and oauthconsumer. If you don't need YAJL, you need to remove the yajl files from your project.

MGTwitterEngine isn't a very clean install, it usually needs a lot of tweaking to get it to build properly.

0

精彩评论

暂无评论...
验证码 换一张
取 消