Skip to content

Instantly share code, notes, and snippets.

@kreeger
Last active August 29, 2015 14:24
Show Gist options
  • Save kreeger/cdb33dbfefe40025502c to your computer and use it in GitHub Desktop.
Save kreeger/cdb33dbfefe40025502c to your computer and use it in GitHub Desktop.
Re-enables launching of older versions of Xcode on El Capitan. Do so at your own risk!

Xcode 6 & El Capitan

Re-enables launching of older versions of Xcode on El Capitan. Xcode 6 supposedly has issues creating corrupt archives on El Capitan, which is why it's been disabled. Do so at your own risk!

  • Disable rootless (temporarily) with sudo nvram boot-args="kext-dev-mode=1 rootless=0"
  • Then reboot
  • open /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exceptions.plist
  • change com.apple.dt.Xcode -> Item 0 -> HardDisabled from YES to NO
  • Reboot again, for good measure
  • Remove and reinstall Xcode, launch it, make sure it's good
  • Reenable rootless with sudo nvram boot-args=""
  • Reboot one last time

You may need to make a writeable copy of Exceptions.plist, make changes to it, and then move it back over on top of the one in CoreTypes.bundle. I did.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment