Mac一键安装Theos并创建项目教程

本文详细介绍了在 Mac 上使用一键安装 Theos 创建 iOS 越狱插件开发项目的方法。包括解决国内下载问题的代理使用和手动安装的步骤。通过本教程,您将能够轻松开始开发自己的 iOS 越狱插件。 运行安装脚本 bash -c "$(curl -fsSL https://raw.githubusercontent.com/theos/theos/master/bin/install-theos)" 当然国内访问一般访问不了,所以我们需要用代理,上面运行不了就用下面这个命令 bash -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/theos/theos/master/bin/install-theos)" 如果安装过程失败就使用代理吧 HTTP_PROXY=http://127.0.0.1:7890 HTTPS_PROXY=http://127.0.0.1:7890 && bash -c "$(curl -fsSL https://ghproxy.com/https://raw.githubusercontent.com/theos/theos/master/bin/install-theos)" [postsbox post_id=“1015”] 如果还是不行那就打开 https://ghproxy.com/https://raw.githubusercontent.com/theos/theos/master/bin/install-theos 将内容手动放到文件给权限运行 cd ~/ vim install-theos chmod +x install-theos ./install-theos 检查是否正确安装 新建 shell 命令行窗口,输入命令 ls $THEOS 安装脚本没报错 能正常显示目录结构就说明八九不离十安装成了 创建项目 创建一个项目测试项目尝试编译一下 $THEOS/bin/nic.pl 进入项目目录编译项目 cd test make ...

2023年5月14日 · 1 分钟 · 诚哥博客