最近想看第三方應(yīng)用的視圖層級(jí)又不想越獄恭金,發(fā)現(xiàn)了這個(gè)很厲害的工具授瘦,做個(gè)筆記?
首先把大神的博客推薦一下 http://www.alonemonkey.com
git: https://github.com/AloneMonkey/MonkeyDev
下面記錄一下安裝步驟
首先安裝homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
然后安裝dpkg和ldid
brew install dpkg ldid
安裝Thoes
sudo Git clone --recursive https://github.com/theos/theos.git /opt/theos
然后把/opt/theos的權(quán)限改成你自己:
sudo chown $(id -u):$(id -g) /opt/theos
把theos的執(zhí)行路徑加入到環(huán)境變量之中熬甚,在~目錄下的.bash_profile中加上這么兩句:
export THEOS=/opt/theos
export PATH=/opt/theos/bin/:$PATH
安裝monkeydev
選擇xcode
sudo xcode-select -s /Applications/Xcode-beta.app
安裝
git clone https://github.com/AloneMonkey/MonkeyDev.git
cd MonkeyDev/bin
sudo ./md-install
使用方法在此
http://www.alonemonkey.com/2017/07/12/monkeydev-without-jailbreak/
參考資料
https://brew.sh/index_zh-cn.html
http://blog.csdn.net/app_ios/article/details/52596230
http://www.alonemonkey.com/2017/06/28/monkeydev/