您的位置:首页 > 产品设计 > UI/UE

Reveal的使用,妈妈在也不担心UI了

2015-07-24 00:06 260 查看
一、下载:http://revealapp.com/

二、打开Reveal,点击Help下的Show Reveal Library in Finder,出现libReveal和Reveal2个文件 

三、把Reveal.framework从Finder中拷贝到工程文件中

四、配置Build Setting,在Build Setting下的Linking下的Other
Linker Flags下添加-ObjC -framework Revea(-ObjC -lz -framework Reveal)

五、将Build
Phases下的Reveal.framework从Link Binaries With Libraries下删除

六、模拟机运行成功后打开Reveal,一定要是运行成功后在打开Reveal。

真机刚越狱完,还在研究中。

2015-8.3真机整理

1、打开mac上的终端工具(Terminal),输入如下命令:ssh
root@iOS设备IP地址,iOS设备root用户的默认密码是alpine.

aideMacBook-Pro:~ ainadi$ ssh root@192.168.1.101
The authenticity of host '192.168.1.101 (192.168.1.101)' can't be established.
RSA key fingerprint is 24:54:ef:2c:ea:39:dc:7c:bd:0f:e2:dd:4f:28:61:0b.
Are you sure you want to continue connecting (yes/no)? YES
Warning: Permanently added '192.168.1.101' (RSA) to the list of known hosts.
root@192.168.1.101's password: 



2、接下来测试Cydia Substrate 是否安装成功,

Yang:~ root# cd /Library/MobileSubstrate/DynamicLibraries/
Yang:/Library/MobileSubstrate/DynamicLibraries root# 

如果出现
-sh:
cd: /Library/MobileSubstrate/DynamicLibraries: No such file or directory
 提示那就说明Cydia Substrate安装不成功,不成功请重新进入iOS设备上下载安装Cydia 

3、上传libReveal.dylib,

aideMacBook-Pro:~ ainadi$ cd /Applications/Reveal1.5.1cracked.app/Contents/SharedSupport/iOS-Libraries
aideMacBook-Pro:iOS-Libraries ainadi$ sudo scp libReveal.dylib  root@192.168.1.101:/Library/MobileSubstrate/DynamicLibraries/
Password:

这里是电脑密码

4、.编写并上传一份
libReveal.plist
到iOS设备的
/Library/MobileSubstrate/DynamicLibraries
目录中,

aideMacBook-Pro:iOS-Libraries ainadi$ cd /Users/ainadi/Work/
aideMacBook-Pro:Work ainadi$ scp libReveal.plist root@192.168.1.101:/Library/MobileSubstrate/DynamicLibraries/
root@192.168.1.101's password: 
libReveal.plist                               100%   93     0.1KB/s   00:00    
aideMacBook-Pro:Work ainadi$ 
密码是alpine

参考:

1,http://support.revealapp.com/kb/getting-started/integrating-reveal-static-linking

2,http://blog.csdn.net/yongyinmg/article/details/39293015

3,http://c.blog.sina.com.cn/profile.php?blogid=cb8a22ea89000gtw

4,http://blog.csdn.net/sakulafly/article/details/17994173
5、http://www.cnblogs.com/yang-guang-girl/archive/2015/07/14/4646429.html
6、http://hurui.gitbooks.io/reveal-debug/content/viewOtherApp.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: