但是,我正在寻找一种运行它的方法,无需任何外部程序,因为我以前用OSX 10.10(优胜美地)运行.
- Open this file /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exception.plist
- Find lines with name xcode in them (07003)
- Edit value HardDisabled from YES to NO
Save and reboot
1.a) If you can’t save because file says it’s locked then enable
rootless mode (sudo nvram boot-args=”kext-dev-mode=1 rootless 0″ or
sudo nvram boot-args=”kext-dev-mode=1 rootless=0″) and reboot.1.b) If you still have problem,copy Exceptions.plist to Desktop (or
wherever else) and edit it them.1.c) Save it and them remove
Exceptions.plist in System (sudo rm -rf
/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exceptions.plist)1.d) Copy file from Desktop (or wherever else) to
/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources and
reboot.
我无法使用上面的说明编辑Exceptions.plist文件,但经过很多尝试,我找到了编辑它的方式.
Here你可以找到编辑它的说明.
毕竟,我仍然收到消息
You can’t open the application “XCode.app” because it is not supported
on this type of Mac
当我尝试从Finder运行Xcode 6.4
解决方案1
我唯一没有做的是在更改后重新安装XCode 6.4.我重新安装它,它的工作原理!
解决方案2
Dave Wood提供了另一种解决方案,以避免重新安装XCode. This是帖子,他在他的答案中发布的脚本是here
解决方法
脚本在这里:http://bit.ly/Xcode6OnElCapitan
注意:您仍然无法提交在El Capitan上建立的应用程序,但仍处于测试阶段.