美文网首页
iOS 逆向开发--Theos安装

iOS 逆向开发--Theos安装

作者: SandyLoo | 来源:发表于2018-07-17 20:50 被阅读0次

安装dpkg和ldid

brew install dpkg ldid

如果没有安装Homebrew,那么安装它也仅仅只需要一句话(可能需要VPN环境,github最近越来越不稳定也是众所周知的事情):

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

安装Thoes

之前我们把Theos安装在/opt/theos,现在我们还是安装在这个文件夹。

sudo git clone --recursive https://github.com/theos/theos.git  /opt/theos

然后把/opt/theos的权限改成你自己:

sudo chown $(id -u):$(id -g) /opt/theos

最后这一步也很重要,要把theos的执行路径加入到环境变量之中,在~/.bash_profile中加上这么两句:

export THEOS=/opt/theos

export PATH=/opt/theos/bin/:$PATH

vim ~/.bash_profile 打开bash加上上面两条,保存退出

 测试是否安装成功

Cd到任意可执行目录,

执行:

nic.pl

New Instance Creator开始执行则已经安装成功。

从旧款Theos升级到最新版

git submodule update –recursive

相关文章

网友评论

      本文标题:iOS 逆向开发--Theos安装

      本文链接:https://www.haomeiwen.com/subject/wkogpftx.html