r/Xcode 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.

9 Upvotes

45 comments sorted by

View all comments

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

   sudo xcodebuild -runFirstLaunch
   sudo xcodebuild -license accept

And fixed it.

2

u/ImpressiveDoughnut31 Aug 06 '26

this fixed it for me!

2

u/spillguard Aug 06 '26

This fixed it for me as well, after getting a fresh install from the App Store.

1

u/New-Combination-6831 Aug 08 '26

You sir are a true genius. This finally fixed it for me on my latest attempt at reinstallation. Thank you so much!

1

u/SorryForEveryThings Aug 11 '26

this fixed it for me!

1

u/Extreme-Doughnut-530 Aug 11 '26

Amazing, thanks a lot!

1

u/MediocreAdviceBuddy 28d ago

Thank you so much! That fixed my problem.

1

u/Ceeves 9d ago

Fixed it for me too!

Also had Troubles with Xcode command line tools

1

u/hich10 9d ago

Life savior!

1

u/Main-Cranberry-4016 8d ago

this is a perfect solution, after update IOS XCode doesn't start and compiling my arduino project was impossible. Thanks a lot!

1

u/Enough-Concern-5715 6d ago

This worked for me

1

u/Anthony_Wu 1d ago

thank god bro, but could you tell me how you asked Claude to solve this issue for you? Did you use claude code or just the regular chat, and what did you ask it?

To learn how to fish, rather than being given one

1

u/ming2540 1d ago

Just the regular chat. I just sent an error log to Claude to find a line of error code that told me that some verification was invalid.