xcode 6.1更新后找不到#import 文件

我得到词法或预处理器问题,即xcode 6.1更新后找不到文件。 我已经遵循下面的堆栈溢出解决方案但没有运气。

xcode更新后找不到#import 文件

i found libxml2.2.dylib --> it is created during xcode 5 installation. libxml2.dylib --> it is created during latest xcode6 update. 

使用finder / usr / lib /

 I had used libxml2.2.dylib in xcode 5 but now i am getting above error in xcode 6. 

另外如何从这个/ usr / lib / location添加libxml2.2.dylib lib,因为在构建阶段我无法导航到/ usr / lib / path。

请帮帮我。 提前致谢。

在Project和目标中的SearchPath中

 set HeaderSearchPath and LibrarySearchPaths to /usr/include/libxml2 

这件事解决了我的问题可能它也会帮助你

还将OTHER_LDFLAGS设置为-lxml2以避免之后出现任何链接器问题