最近想看第三方应用的视图层级又不想越狱,发现了这个很厉害的工具,做个笔记
首先把大神的博客推荐一下 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的权限改成你自己:
sudo chown $(id -u):$(id -g) /opt/theos
把theos的执行路径加入到环境变量之中,在~目录下的.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/