1. 选定当前电脑的Xcode
sudo xcode-select - s /Applications/Xcode.app/Contents/Developer
2. 安装ldid(可能需要dpkg)
brew install ldid
3. 提前将theos加入到环境变量
$ vim ~/.bash_profile
export THEOS=~/theos
export PATH=$THEOS/bin:$PATH
$ source ~/.bash_profile (使之立即生效)
4. 下载Theos
$ git clone --recursive https://github.com/theos/theos.git $THEOS
5. 测试安装
nlc.pl
网友评论