Theos安裝(最新)

《iOS 應(yīng)用逆向工程》一書中的安裝方法已經(jīng)過期,故將自己踩坑經(jīng)歷寫下。

本文針對Mac中單個Xcode的情況

1.下載Theos

AndrewdeMacBook-Pro:~ Andrew$? export THEOS=/opt/theos

AndrewdeMacBook-Pro:~ Andrew$ sudo git clone git://github.com/DHowett/theos.git $THEOS

Password:

Cloning into '/opt/theos'...

remote: Counting objects: 7619, done.

remote: Total 7619 (delta 0), reused 0 (delta 0), pack-reused 7619

Receiving objects: 100% (7619/7619), 1.92 MiB | 270.00 KiB/s, done.

Resolving deltas: 100% (4683/4683), done.

下載完成后可以前往 ?/opt/theos ?中找到下載路徑

2.配置ldid

從http://joedj.net/ldid下載ldid,打開網(wǎng)址即會下載,然后將該文件拷貝到/opt/theos/bin路徑下,并刪除原路徑文件(此處移動文件路徑不可行),然后用以下命令賦予它可執(zhí)行權(quán)限:

AndrewdeMacBook-Pro:~ Andrew$ sudo chmod 777 /opt/theos/bin/ldid

3.配置libsubstrate.dylib

下載路徑:https://github.com/kokoabim/iOSOpenDev/blob/master/lib/libsubstrate.dylib

將文件拷貝到拷貝到 /opt/theos/lib路徑下

4.配置dpkg-deb

在路徑/opt/theos/bin/下有一個文件叫dm.pl 將該文件改名成dpkg-deb.pl

然后用以下命令賦予它可執(zhí)行權(quán)限:

sudo chmod 777 /opt/theos/bin/dpkg-deb

6.配置Theos NIC templates(此步驟可以省略了,已經(jīng)有了)

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容