Why am I getting this “libxml/tree.h file not found” error?

后端 未结 14 2226
半阙折子戏
半阙折子戏 2020-12-12 22:15

I just installed Xcode version 4.3.1 and I get this error:

libxml / tree.h file not found

I have also installed Xcode 4.2, and

14条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-12 22:33

    Xcode 6:

    Do the following:

    1.0)Select "mainApp" Target : Go to settings ->In "Header Search Path"

    1.1)Add this: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/libxml2.

    2.0)Select "TestApp" Target : Go to settings ->In "Header Search Path"

    2.1)Add this: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/libxml2.

提交回复
热议问题