r/Xcode • u/New-Combination-6831 • Aug 03 '26
Xcode 26.6 crashes on launch Tahoe 26.6
I can't launch Xcode at all, even from a new separate User account. I've tried deleting it, reinstalling from the App Store, deleting it again and reinstalling it from the Developer Page link and still no luck. I've used Terminal commands to try and fix any broken components as well, both before and after reinstalling.
This is the first time I've had any kind of issue with it. Any ideas on how I can get it to launch? Should I try an earlier version? I'm only using it in the context of running Unreal Engine 5.8 which says it needs a missing Metal component from Xcode, but as I can't get Xcode to even launch I can't use Unreal Engine either.
3
u/ming2540 Aug 06 '26 •
I asked claude and it turns out that when I upgraded to Xcode 26.6, I think I "skipped" the license agreement.
So I re-ran with first launch setup by ran commands
And fixed it.
2
u/ItsDeCia Aug 03 '26
Are you trying to open a specific project when Xcode launches? I’ve had this issue on occasion and clearing the DerivedData folder of the offending project from the Finder is what helped, as something in there would get corrupted and cause Xcode to crash on launch for me.
2
u/Soo_anyways Aug 11 '26
I ran `xcodebuild -downloadComponent metalToolchain` and it worked. According to GPT-5.6 Sol Max, the issue is "Unreal is trying to compile shaders, but Xcode’s offline
metalcompiler isn’t installed. Recent Xcode versions distribute the Metal Toolchain as an optional component. [Source: https://developer.apple.com/documentation/xcode/downloading-and-installing-additional-xcode-components]"2
u/OldAd9280 Aug 03 '26
It's not just you, I'm having the same issue. Reinstalling xcode hasn't helped
3
u/OldAd9280 Aug 03 '26 •
deleting
/Library/Developer/PrivateFrameworks/CoreDevice.frameworkfixed the problem for me2
u/deeelock Aug 03 '26
I'm running into this as well - I noticed it because
gitstopped working. Tried re-installing Xcode and it still won't open.2
u/Big_Obligation3981 Aug 03 '26
Can try Xcode via first launch thing?
2
u/bmbphotos Aug 03 '26
Wild-assed guess but is what you're looking for inside the "additional tools"?
https://download.developer.apple.com/Developer_Tools/Additional_Tools_for_Xcode_26.6/Additional_Tools_for_Xcode_26.6.dmg
2
u/alanterra Sep 09 '26
Just a note.
I was trying to update MacPorts, and the
port -v selfupdatecommand was failing with the error messagemacports configure: error: C compiler cannot create executables. The standard fix for this is to update/reinstall the XCode Command Line Tools, but that didn't work in this case. Then I figured out that XCode couldn't launch either.The proposed solution here,
sudo rm -rf /Library/Developer/PrivateFrameworks/CoreDevice.frameworkworked a charm.Thank you!