【发布时间】:2015-12-30 03:46:11
【问题描述】:
我正在尝试使用终端在我的 Mac OS X El Capitan 中设置和安装 theos。我正在关注 iPhoneDevWiki (http://iphonedevwiki.net/index.php/Theos/Setup) 并正确执行每一步,我已经多次完成,但每次我都遇到这个小错误。我已经有了所有依赖项,当我执行以下命令时问题就来了:
git clone git://git.saurik.com/ldid.git
fatal: destination path 'ldid' already exists and is not an empty directory.
cd ldid
git submodule update --init
./make.sh
Password:
xcode-select: error: invalid developer directory '/Applications/Xcode-5.1.1.app
我输入了密码,但它确实显示了错误。我已经尝试过以下命令:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcode-select -s </Applications/Xcode.app/Contents/Developer>
第二个实际上导致我出现“换行符”或类似错误。 我的xcode版本不是5.1.1,我什至不知道为什么我的终端说Xcode.app是Xcode-5.1.1!
xcode-select -v
xcode-select version 2343.
我已经试过放命令了:
xcode-select -p
输出是:
/Applications/Xcode.app/Contents/Developer
那么,如果这是输出,为什么它说我的开发者目录是“/Applications/Xcode-5.1.1.app”?
请帮帮我!
【问题讨论】:
标签: xcode terminal directory theos