官方给出的步骤:https://github.com/AloneMonkey/MonkeyDev/wiki/安装

一、环境要求

sudo git clone --recursive https://github.com/theos/theos.git /opt/theos
  • 安装ldid(如安装theos过程安装了ldid,跳过)
brew install ldid

二、安装步骤

1、安装Xcode

  • 选择指定的Xcode进行安装
sudo xcode-select -s /Applications/Xcode-beta.app
  • 默认已经安装的Xcode
xcode-select -p

显示的为Xcode文件路径。我的Xcode之前安装好了,这里显示为:/Applications/Xcode.app/Contents/Developer。

2、执行安装命令

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

注:安装报错显示有问题,但是打开Xcode可以正常使用。

monkey.jpg

三、其他命令

  • 卸载命令
sudo /bin/sh -c "$(curl -fsSL https://raw.githubusercontent.com/AloneMonkey/MonkeyDev/master/bin/md-uninstall)"
  • 更新命令
sudo /bin/sh -c "$(curl -fsSL https://raw.githubusercontent.com/AloneMonkey/MonkeyDev/master/bin/md-update)"

 

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐