OSX 10.11(El Capitan)beta 2 / beta 3上的Xcode 6.4

我试图在El Capitan上运行 Xcode 6.4,我可以使用 this发布的说明进行运行.

但是,我正在寻找一种运行它的方法,无需任何外部程序,因为我以前用OSX 10.10(优胜美地)运行.

我发现this帖子指向this说明,但它不工作.这些是说明

  1. Open this file /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exception.plist
  2. Find lines with name xcode in them (07003)
  3. Edit value HardDisabled from YES to NO
  4. 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

解决方法

这是一个shell脚本,调整Xcode 6并辞职,所以你可以正常运行它.不需要混淆系统异常列表,重新安装或任何东西.只需要一分钟左右才能运行.

脚本在这里:http://bit.ly/Xcode6OnElCapitan

注意:您仍然无法提交在El Capitan上建立的应用程序,但仍处于测试阶段.

以上是来客网为你收集整理的OSX 10.11(El Capitan)beta 2 / beta 3上的Xcode 6.4全部内容,希望文章能够帮你解决OSX 10.11(El Capitan)beta 2 / beta 3上的Xcode 6.4所遇到的程序开发问题。

如果觉得来客网网站内容还不错,欢迎将来客网网站推荐给程序员好友。