简体   繁体   English

libxml2、xcode 4 (MGTwitter)

[英]libxml2, xcode 4 (MGTwitter)

I have an that is working well with xcode 3.x and I have tryed to work with it in xcode 4, to prepare the app to iOS 5.我有一个与 xcode 3.x 配合得很好,我尝试在 xcode 4 中使用它,以准备应用程序到 iOS 5。

When i try to Build, i get a lot of errors, like: libxml/xmlreader.h: no such file or directory.当我尝试构建时,我收到很多错误,例如:libxml/xmlreader.h:没有这样的文件或目录。

I've tryed a few things i found on google, but no success.我尝试了一些在谷歌上找到的东西,但没有成功。

Can anyone help me?谁能帮我?

I've solve it.我已经解决了。

just changed the header to "/usr/include/libxml2"刚刚将 header 更改为“/usr/include/libxml2”

And the Optimization level (all of them) to: "Fastest,Smallest [-Os]"优化级别(全部)为:“Fastest,Smallest [-Os]”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM