iOS XMPPFramework 环境配置

来源:互联网 发布:java base64解码成图片 编辑:程序博客网 时间:2024/06/10 03:13

  转自:http://www.cnblogs.com/cocoajin/p/3668373.html

iOS XMPPFramework 环境配置

1:下载 iOS XMPPFramework  https://github.com/robbiehanson/XMPPFramework

2:下载解压zip文件之后,把如下文件导入到 你的 项目中

  • Authentication
  • Categories
  • Core
  • Extensions
  • Utilities
  • Vendor

   

3: 导入项目库的依赖文件库

在xcode target---build phases ----link Bianry with libares 导入如下依赖库

  • CFNetwork.framework
  • SystemConfiguration.framework
  • libxml2.dylib
  • libresolv.dylib

 

4: 配置libxml2库

在 Project-->Build Settings --> Header Search Paths --->添加 /usr/include/libxml2

5: commit + b 编译项目,看是否通过!上述配置之后,一般编译就能通过了!

参考:https://github.com/robbiehanson/XMPPFramework/wiki/GettingStarted_iOS



0 0
原创粉丝点击