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

安装与初步使用Theos

2017-09-21 15:39 316 查看
theos是开发插件tweak开发工具,生成deb文件

//安装
export THEOS=/opt/theos  //将theos放到/opt路径下
sudo git clone git://github.com/DHowett/theos.git

配置签名工具ldid
下载ldid  
http://joedj.net/ldid
将ldid文件手动copy到/opt/theos/bin/路径下
赋予它可执行权限:sudo chmod 777 /opt/theos/bin/ldid

配置deb打包工具dpkg-deb
下载dm.pl文件    https://raw.githubsercontent.com/DHowett/dm.pl
将下载的文件夹重命名为 dpkg-deb ,手动copy到 /opt/theos/bin 路径下
赋予它可执行权限:sudo chmod 777 /opt/theos/bin/dpkg-deb
(执行权限目标为文件夹)

配置CydiaSubstrate   

//theos初步使用
创建工程
cd到工程将要放置的位置目录
输入 /opt/theos/bin/nic.pl 启动选择模板



开发类型为tweak,模板选择11
输入工程名称
输入deb包的包名 (bundle identifier)
输入tweak作者名字
输入tweak作用对象的bundle identifier (即添加插件原工程的bundle ID)
输入tweak安装完成后需要重启的应用,以进程名表示 (进程名为可执行文件的名字)



完成上述步骤tweak工程就建好了

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  逆向工程 ios