Add Twitter.framework to Theos on iPhone

感情迁移 提交于 2019-12-10 10:23:21

问题


I'm developing a notification center widget with Theos on my iPhone.

In makefile I added "Twitter" framework and in my project I added <Twitter/Twitter.h>.

When I compile the widget I get a "Twitter/Twitter.h no such file or directory.".

How can I add this framework? Thanks


回答1:


##编译 ----------------------------yours----------------------------- your_FILES = your/xxx.m

##连接 ----------------------------framework-------------------------- your_FRAMEWORKS = UIKit QuartzCore Foundation CoreFoundation CoreGraphics MobileCoreServices

your_FRAMEWORKS = SystemConfiguration CFNetwork

##连接 ----------------------------dylib------------------------------

your_LDFLAGS = -lxml2 -lz -licucore



来源:https://stackoverflow.com/questions/10894475/add-twitter-framework-to-theos-on-iphone

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!