美文网首页
Theos的安装及用法

Theos的安装及用法

作者: 哈哈哈我的简书账号 | 来源:发表于2021-07-15 22:47 被阅读0次

第一步:安装brew,国外的源经常失败,使用下边的方法,使用国内源

/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

第二步:安装ldid

brew install ldid

用于签名可执行文件

第三步:安装dpkg-deb

brew install dpkg

用于将工程打包成deb格式。deb格式是越狱开发的格式,正向开发的格式通常是ipa

第四步:安装Theos

// 设置环境变量
vim ~/.bash_profile
export THEOS="/opt/theos"
export PATH="/opt/theos/bin/:$PATH"

//下载Theos
git clone --recursive https://github.com/theos/theos.git $THEOS 

如果下载失败,

git config --global url."https://github.com/".insteadOf git://github.com/

建议大家放在/opt/下
--recursive标识递归下载依赖

相关文章

网友评论

      本文标题:Theos的安装及用法

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