如果在运行的时候,报下面错误:
Undefined symbols for architecture i386: “_deflate”, referenced
from:
-[IBAHTTPJSONResponse initWithJSONString:compress:] in Reveal(IBAHTTPJSONResponse.o) “_deflateEnd”, referenced from:
-[IBAHTTPJSONResponse initWithJSONString:compress:] in Reveal(IBAHTTPJSONResponse.o) “deflateInit2“, referenced from:
-[IBAHTTPJSONResponse initWithJSONString:compress:] in Reveal(IBAHTTPJSONResponse.o) ld: symbol(s) not found for architecture
i386 clang: error: linker command failed with exit code 1 (use -v to
see invocation)
则把这里的-ObjC改为-lz
另外下一步要引入的框架加入一个:
libz.dylib
4.需要引入的框架:
启动xcode的项目,
打开reveal,点击这里
运行结果截屏:
原文地址:http://blog.csdn.net/xundh/article/details/46621037