您的位置:首页 > 移动开发 > IOS开发

[iOS进阶]Reveal使用技巧

2015-10-26 19:29 405 查看

问题

按照教程引入Reveal,运行时却出现如下错误:

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)

环境配置:os x 10.10.5, xcode 7.1,iOS 9.1

Reveal版本:1.6

解决方法:

引入libz.tbd

使用方法

下载安装好Reveal:http://revealapp.com/download/

1.启动Reveal –> Help –> Show Reveal Library in Finder,拖动添加Reveal.framework到工程中。

选中 Copy items into destination group’s folder (if needed)以及当前的targets。

展开查看Reveal.framework中所有h文件都正确加入工程中;

确保Summary–> Linked Frameworks and Libraries目录下,包含以下三个framework

Reveal.Framework

CFNetwork.framework

QuartzCore.framework

CoreGraphics.framework

libz.tbd

2.TARGETS中设置命令

TARGETS –> Settings –> Other Linker Flags –>添加命令 -ObjC

3.由于Reveal只支持iOS6以上,所以程序的最低适配版本要选择为iOS6.1

Bulid Setting –> iOS Deployment Target –>iOS6.1

4.运行程序,切换到Reveal,file –> connect to 当前运行的程序就可以操作了

如果还不行直接去看官网的教程吧!

http://support.revealapp.com/kb/getting-started/integrating-reveal-with-your-ios-app

破解Reveal

永久试用Reveal的方法如下

~/Library/Preferences/com.ittybittyapps.Reveal.plist

把IBAApplicationPersistenceData这一项删除

原文地址:http://jingwei6.me/2014/02/28/reveal_crack.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: