安装打开:reveal
选择:
打开xcode项目,把reveal.framework拖到项目里设置Other Linker Flags
如果在运行的时候,报下面错误:
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,点击这里
运行结果截屏:
,只有经历过地狱般的折磨,才有征服天堂的力量,只有流过血的手指,才能弹出世间的绝唱。