开发者

Importing external library into Xcode project

开发者 https://www.devze.com 2023-03-08 16:05 出处:网络
For some reason, when I try importing a library into my xcode project, it\'s not recognizing it. It says:

For some reason, when I try importing a library into my xcode project, it's not recognizing it. It says:

Libxml/xmlversion.h: No such file or directory

ect, ect

Why am I getting this? I'm imported these and I see them in my "linked frameworks" folde开发者_如何学JAVAr. I actually just imported another applications frameworks/libaries and code so I can add it to my app...it compiles in the other app that I copied from, but when I import into mine, it doesn't work.


You need to add to the 'Header Search Paths' in your xcode project's settings. For libxml2, the path is this: ${SDKROOT}/usr/include/libxml2/libxml/**

0

精彩评论

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