title: Xcode 6.4 on OSX 10.11 (El Capitan) beta 2 / beta 3
body: <p>I am trying to run Xcode 6.4 on El Capitan and I can run with the instructions on <a href="https://stackoverflow.com/questions/31040744/xcode-6-3-2-cant-run-on-osx-10-11-el-capitan-developer-preview-2">this</a> post.</p>
  
  <p>But I am looking for a way to run it without any external program as I ran before with OSX 10.10 (Yosemite).</p>
  
  <p>I found <a href="https://www.reddit.com/r/iOSProgramming/comments/3awe5u/warning_xcode_6_el_capitan_beta_2/" rel="nofollow noreferrer">this</a> post that point to <a href="http://pastebin.com/K2AKuWL9" rel="nofollow noreferrer">this</a> instructions but it does not work.  These are the instructions</p>
  
  <blockquote>
    <ol>
    <li>Open this file /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exception.plist</li>
    <li>Find lines with name xcode in them (<a href="https://i.imgur.com/tcKWLhz.png" rel="nofollow noreferrer">http://i.imgur.com/tcKWLhz.png</a>)</li>
    <li>Edit value HardDisabled from YES to NO</li>
    <li><p>Save and reboot</p>
    
    <p>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.</p>
    
    <p>1.b) If you still have problem, copy Exceptions.plist to Desktop (or
    wherever else) and edit it them.    </p>
    
    <p>1.c) Save it and them remove
    Exceptions.plist in System (sudo rm -rf
    /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exceptions.plist)</p>
    
    <p>1.d) Copy file from Desktop (or wherever else) to
    /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources and
    reboot.</p></li>
    </ol>
  </blockquote>
  
  <p>I couldn't edit the Exceptions.plist file with the instructions above, but after a lot of tries I found the way to edit it.<br>
   <a href="https://superuser.com/questions/936123/edit-exceptions-plist-on-osx-10-11-beta-2-el-capitan/936269#936269">Here</a> you can find the instructions to edit it.</p>
  
  <p>After all of this, I still receiving the message</p>
  
  <blockquote>
    <p>You can't open the application "XCode.app" because it is not supported
    on this type of Mac</p>
  </blockquote>
  
  <p>when I try to run Xcode 6.4 from Finder</p>
  
  <p><strong>SOLUTION 1</strong><br>
  The only thing I didn't do was to reinstall XCode 6.4 after the changes.  I reinstalled it and it works!</p>
  
  <p><strong>SOLUTION 2</strong><br>
  <a href="https://stackoverflow.com/users/144857/dave-wood">Dave Wood</a> provided another solution to avoid to reinstall XCode.  <a href="https://stackoverflow.com/a/31310418/3761982">This</a> is is post and as he posted in his answer the script is <a href="http://bit.ly/Xcode6OnElCapitan" rel="nofollow noreferrer">here</a> </p>