I am trying to run Xcode 6.4 on El Capitan and I can run with the instructions on this post.
But I am looking for a way to run it without any external program as I r
There are two places in Exceptions.plist which list Xcode. The one you don't have listed is:
<key>com.apple.Xcode</key>
<array>
<dict>
<key>AppStoreIdentifier</key>
<string>497799835</string>
<key>AppStoreUpdateIsFree</key>
<true/>
<key>HardDisabled</key>
<false/>
<key>HighVersion</key>
<string>5085.0</string>
</dict>
</array>
It is necessary to re-install Xcode afterwards.
Xcode 6.4 runs out-of-the-box on:
Xcode 6.4 fails to open on:
El Capitan Beta 6 (build 15A244d) - Workaround here
cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib
sudo mv dyld_sim dyld_sim.orig
User lembacon here found the solution:
cd /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
cd Developer/SDKs/iPhoneSimulator.sdk/usr/lib
sudo mv dyld_sim dyld_sim.orig
The reason is that the internal implementation of
_NSGetExecutablePath
has been updated (where the Kernel is involved), and the hostdyld
has also been updated to track this change. Thedyld_sim
, however, has not yet been updated. So the problem is that_NSGetExecutablePath
will return a path that contains aexecutable_path=
part which causes that theCFBundleGetMainBundle()
always returnsNULL
. This workaround simply forces the simulator to use the hostdyld
.
I confirm that this solution is working with Xcode 6.4.
Here's a shell script that tweaks Xcode 6 and resigns so you can just run it normally. No need to mess with the system exception list, reinstall or anything. Just takes a minute or so to run.
Script is here: http://bit.ly/Xcode6OnElCapitan
Note: you can not submit apps built on El Capitan while it's still in Beta.
In addition to the original first answer if you dont want to reinstall xcode again because of slow internet connection you can just copy xcode to desktop delete the one in application folder (Assuming you did all the required steps above except reinstalling). And move back xcode to application folder(while copying to desktop itself if you did above step right you will notice the cut icon will dissapear after copying)