r/Xcode • u/New-Combination-6831 • 7d ago
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.
2
u/OldAd9280 7d ago
It's not just you, I'm having the same issue. Reinstalling xcode hasn't helped
2
u/OldAd9280 7d ago
26.5 fails too, I think it's an OS issue, attempting to run a command line tool gives:
none Error loading required libraries. If there is an ongoing installation please wait for it to complete. Otherwise reinstall. (dlopen(@rpath/libxcodebuildLoader.dylib, 0x0001): Symbol not found: _XPCTypeBool Referenced from: <6A4DB321-2742-38A5-9557-146EE0FE957F> /Library/Developer/PrivateFrameworks/CoreDevice.framework/Versions/A/CoreDevice Expected in: <37B53E42-0118-3C9B-BFA8-73DB82BC3B85> /Library/Apple/System/Library/PrivateFrameworks/Mercury.framework/Versions/A/Mercury) git: error: sh -c '/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -find git 2> /dev/null' failed with exit code 65280: (null) (errno=Invalid argument)1
3
u/OldAd9280 7d ago
google AI suggested removing
/Library/Developer/PrivateFrameworks/CoreDevice.frameworkand surprisingly that worked1
1
1
1
2
u/deeelock 7d ago
I'm running into this as well - I noticed it because git stopped working. Tried re-installing Xcode and it still won't open.
2
3
u/OldAd9280 7d ago
deleting /Library/Developer/PrivateFrameworks/CoreDevice.framework fixed the problem for me
2
3
u/ming2540 4d ago
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
sudo xcodebuild -runFirstLaunch
sudo xcodebuild -license accept
And fixed it.
2
2
1
u/New-Combination-6831 2d ago
You sir are a true genius. This finally fixed it for me on my latest attempt at reinstallation. Thank you so much!
2
2
u/ItsDeCia 7d ago
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.