准备工作
1、一台Mac系统的电脑,黑苹果也可以。
2、Apple ID一个
首先从AppStore下载Xcode开发工具,这个工具是开发iOS代码用的,必不可少。当然体积也很庞大,动不动就是几十个G,初始安装包是11G左右,请大家预留好硬盘空间。

首次使用请同意相关政策。

下面就是安装MonkeyDev的环境,详见:https://github.com/AloneMonkey/MonkeyDev/wiki/%E5%AE%89%E8%A3%85
安装MonkeyDev的前提是先安装brew,安装brew之前需要先在终端执行xcode-select --install命令


brew的安装详见:https://mirrors.tuna.tsinghua.edu.cn/help/homebrew/

安装完成后再安装ldid
brew install ldid
下面我们需要执行MonkeyDev的安装脚本,但是这个脚本安装的时候需要科学上网,为了给大家省点折腾的时间,我直接把脚本修改一下,给大家弄一个镜像,请在终端执行如下命令:
Xcode 12以上缺少一个文件 ,请大家自行下载并解压到指定目录:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode,把下载的压缩包解包放进去即可
File /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Xcode/Specifications/MacOSX Package Types.xcspec not found
复制Xcode 11对应目录里的文件过来就行点我下载
sudo /bin/sh -c "$(curl -fsSL https://gitee.com/allenzhang/note/raw/master/md-install)"
上面这行命令执行完毕后,提示安装成功。

然后我们打开Xcode新建工程的时候,拉到最下面就可以看到MonkeyDev的工程了

为了写这个文章,我特意把电脑重装了,请大家给一个免费的小心心~。下期给大家讲一下如何使用Apple ID自签名逆向后的App。