0
点赞
收藏
分享

微信扫一扫

iOS 开发学习36 reveal使用

安装

打开:reveal

iOS 开发学习36 reveal使用_ios

选择:

iOS 开发学习36 reveal使用_ios_02

打开xcode项目,把reveal.framework拖到项目里

设置Other Linker Flags

iOS 开发学习36 reveal使用_xcode_03
如果在运行的时候,报下面错误:

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.需要引入的框架:
iOS 开发学习36 reveal使用_reveal_04

使用

启动xcode的项目,
打开reveal,点击这里
iOS 开发学习36 reveal使用_json_05
运行结果截屏:
iOS 开发学习36 reveal使用_reveal_06


举报

相关推荐

0 条评论