Ios7 XMPP框架

Ios7 XMPP框架,ios7,xcode5,xmppframework,Ios7,Xcode5,Xmppframework,xmpp的.h和.m文件,我正在尝试使用聊天应用程序。 但是,当我构建项目时,我遇到了以下错误,我试图解决过去24小时的问题,但没有成功获得解决方案,我甚至在谷歌上搜索,但没有得到解决方案。 下面是我得到的错误 Undefined symbols for architecture i386: "_dns_free_resource_record", referenced from: -[XMPPSRVResolver processRecord:length:] in XMPPS

xmpp的
.h
.m
文件,我正在尝试使用聊天应用程序。
但是,当我构建项目时,我遇到了以下错误,我试图解决过去24小时的问题,但没有成功获得解决方案,我甚至在谷歌上搜索,但没有得到解决方案。 下面是我得到的错误

Undefined symbols for architecture i386:
  "_dns_free_resource_record", referenced from:
      -[XMPPSRVResolver processRecord:length:] in XMPPSRVResolver.o
  "_dns_parse_resource_record", referenced from:
      -[XMPPSRVResolver processRecord:length:] in XMPPSRVResolver.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

您必须将
libresolv.dylib
添加到您的框架中。
在中,是第6步:

步骤6

将以下文件夹添加到项目中,并添加到Xcode中 项目:

身份验证类别核心实用程序此外,添加 将libresolv.dylib添加到您的Xcode项目中。(在Xcode 4中,转到目标-> 构建阶段->将二进制文件链接到库->+->选择 libresolv.dylib(来自下拉列表)

确保您的项目已编译

现在,您已经准备好开始在项目中使用XMPPFramework了。这个 XMPPFramework介绍页面解释了如何做到这一点


似乎您需要将
libresolv.dylib
添加到您的框架中(这里的第6步:)谢谢@Larme,问题已经解决了。我刚刚添加了你提到的libresolv.dylib。从哪里下载libresolv.dylib?