Xcode crashes on every launch and is completely unusable.

I just upgraded MacOS to Tahoe 26.6.1, and upgraded XCode too.

Then Xcode crashes on every launch and is completely unusable.

Translated Report (Full Report Below)
-------------------------------------
Process:             Xcode [1718]
Path:                /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier:          com.apple.dt.Xcode
Version:             26.6 (24959)
Build Info:          IDEApplication-24959000000000000~2 (17F113)
Code Type:           ARM-64 (Native)
Role:                Background
Parent Process:      launchd [1]
Coalition:           com.apple.dt.Xcode [917]
User ID:             502

Date/Time:           2026-08-13 11:26:33.1318 +0800
Launch Time:         2026-08-13 11:26:33.0308 +0800
Hardware Model:      Mac16,8
OS Version:          macOS 26.6.1 (25G76)
Release Type:        User

Crash Reporter Key:  ED18B1CA-EA9C-0657-0CF1-1EFA8C60919E
Incident Identifier: 8350CBBA-0B41-4A77-B262-CD0662709FB1

Time Awake Since Boot: 47 seconds

System Integrity Protection: disabled

Triggered by Thread: 0, Dispatch Queue: com.apple.main-thread

Exception Type:    EXC_CRASH (SIGABRT)
Exception Codes:   0x0000000000000000, 0x0000000000000000

Termination Reason:  Namespace SIGNAL, Code 6, Abort trap: 6
Terminating Process: Xcode [1718]


Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	       0x1843745e8 __pthread_kill + 8
1   libsystem_pthread.dylib       	       0x1843af8d8 pthread_kill + 296
2   libsystem_c.dylib             	       0x1842b5978 abort + 148
3   libsystem_c.dylib             	       0x1842b5a94 abort_report_np + 84
4   Xcode                         	       0x102624ed0 main.cold.1 + 36
5   Xcode                         	       0x102624e1c main + 340
6   dyld                          	       0x183fe44e4 start + 6992


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000000
    x4: 0x0000000000000073   x5: 0x000000000000002e   x6: 0x000000016d7db278   x7: 0x0000000000000000
    x8: 0x61cbe9e2533f85e8   x9: 0x61cbe9e3a3e16468  x10: 0x0000000000000002  x11: 0x00000000fffffffd
   x12: 0x0000000000000000  x13: 0x0000000000000000  x14: 0x0000000000000000  x15: 0x0000000000000000
   x16: 0x0000000000000148  x17: 0x00000001f242f400  x18: 0x0000000000000000  x19: 0x0000000000000006
   x20: 0x0000000000000103  x21: 0x00000001f0dee260  x22: 0x0000000102d5cbe0  x23: 0x00000001f0df5908
   x24: 0x0000000000000001  x25: 0x000000016d7db6d0  x26: 0x00000001f0defa70  x27: 0x0000000000000000
   x28: 0x0000000000000000   fp: 0x000000016d7db3f0   lr: 0x00000001843af8d8
    sp: 0x000000016d7db3d0   pc: 0x00000001843745e8 cpsr: 0x40000000
   far: 0x0000000000000000  esr: 0x56000080 (Syscall)

Binary Images:
       0x102624000 -        0x102627fff com.apple.dt.Xcode (26.6) <8025d4bb-71ea-3f57-bade-2e3c847b6cf3> /Applications/Xcode.app/Contents/MacOS/Xcode
       0x18436b000 -        0x1843a82e7 libsystem_kernel.dylib (*) <7cfb3a10-adb2-32c4-99b5-922a111b3224> /usr/lib/system/libsystem_kernel.dylib
       0x1843a9000 -        0x1843b5b3b libsystem_pthread.dylib (*) <12342372-0084-37a5-9ea6-2e4dc940c685> /usr/lib/system/libsystem_pthread.dylib
       0x18423d000 -        0x1842be1e7 libsystem_c.dylib (*) <fdc4e366-5c14-3a1e-bc35-d933d28cdcf3> /usr/lib/system/libsystem_c.dylib
       0x183fc4000 -        0x1840774ff dyld (*) <df42dd9d-ad11-33a7-8849-9ad5df30a274> /usr/lib/dyld
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

Can you try running these commands to set up Xcode and the SDK:

sudo xcodebuild -runFirstLaunch
sudo xcodebuild -license accept

I had the same issue and those commands did the trick. Thanks!

Xcode crashes on every launch and is completely unusable.
 
 
Q