美文网首页
iOS 逆向 MonkeyDev安装调试配置

iOS 逆向 MonkeyDev安装调试配置

作者: 加盐白咖啡 | 来源:发表于2020-01-04 18:02 被阅读0次

越狱开发必备 MonkeyDev
项目地址:
https://github.com/AloneMonkey/MonkeyDev
中文wiki:
https://github.com/AloneMonkey/MonkeyDev/wiki/%E5%AE%89%E8%A3%85

以下内容来自官方wiki和自己整理,方便使用时查看
sudo git clone --recursive https://github.com/theos/theos.git /opt/theos
  • 安装ldid(如安装theos过程安装了ldid,跳过)
 brew install ldid 

此步骤需要确保已经安装了 homebrew
如果提示brew命令不存在,是没有安装homebrew,可以按照如下方式安装:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • 配置免密码登录越狱设备(如果没有越狱设备,跳过)
注意:需要替换username(你自己电脑的路径) 和 ip (设备的ip地址) 不要盲目复制
ssh-keygen -t rsa -P ''
ssh-copy-id -i /Users/username/.ssh/id_rsa root@ip
  • 或者安装sshpass自己设置密码
brew install https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Library/Formula/sshpass.rb

MonkeyDev安装

  • 你可以通过以下命令选择指定的Xcode进行安装:
sudo xcode-select -s /Applications/Xcode.app
  • 默认安装的Xcode为:
xcode-select -p
  • 执行安装命令:
sudo /bin/sh -c "$(curl -fsSL https://raw.githubusercontent.com/AloneMonkey/MonkeyDev/master/bin/md-install)"

MonkeyDev卸载

sudo /bin/sh -c "$(curl -fsSL https://raw.githubusercontent.com/AloneMonkey/MonkeyDev/master/bin/md-uninstall)"

MonkeyDev卸载

  • 如果没有发布特殊说明,使用如下命令更新即可
sudo /bin/sh -c "$(curl -fsSL https://raw.githubusercontent.com/AloneMonkey/MonkeyDev/master/bin/md-update)"

安装/更新之后重启下Xcode再新建项目。

相关文章

网友评论

      本文标题:iOS 逆向 MonkeyDev安装调试配置

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