LibXML2.dylib and Xcode4

前端 未结 11 799
执念已碎
执念已碎 2020-12-05 01:14

I just downloaded Xcode 4 and I cant seem to run my application as the MGTwitter... classes are complaining of a non inclusion error of LibXML2. I have imported it into the

相关标签:
11条回答
  • 2020-12-05 01:57

    I also faced this issue for xcode4.6 , i added libxml2.dylib in header search path added :: "/usr/include/libxml2" and added "AdSupport.framework" and its work for me.

    0 讨论(0)
  • 2020-12-05 02:02

    Please try this one:

    ${SDK_DIR}/usr/include/libxml2
    
    0 讨论(0)
  • 2020-12-05 02:07
    1. Always search user path mark it yes.
    2. Then, remove all previous paths that you have defined manually.
    3. Clean all target.
    4. Analyze or build again.

    This works for me.

    0 讨论(0)
  • 2020-12-05 02:10

    Try this:

    "$(SDK_DIR)"/usr/include/libxml2

    0 讨论(0)
  • 2020-12-05 02:10
    1. Get info on the target and go to the build tab
    2. Add -lxml2 to the Other Linker Flags property
    3. Add -I/usr/include/libxml2 to the Other C Flags property
    0 讨论(0)
提交回复
热议问题