1. libidn.a(stringprep.o), in section __TEXT,__text reloc 8: indirect symbol index out of range for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
libidn.a框架问题,删除重新导入libidn库
2. xml报错
–KissXML:XML解析框架•需要添加libxml2.dylib框架依赖•需要指定如下编译选项:
OTHER_LDFLAGS =-lxml2
HEADER_SEARCH_PATHS =/usr/include/libxml2
3.需要添加的库
- CFNetwork framework
- Security framework
- libresolv.dylib
- CoreGraphics
- libxml2.dylib
- CoreData frameWork
ps:坑(我百度空间的博客搬家都不行)
mark: http://ninjanetic.com/how-to-get-started-with-webrtc-and-ios-without-wasting-10-hours-of-your-life/