XCode always crashes when started

When I launch XCode 14.2 on Monterey 12.7.3 I get the following crash and I really can't start it. What's the problem here and what can I do?


Translated Report (Full Report Below)

Incident Identifier: 11BAF42A-3296-4E53-A3D2-383FB89F5861 CrashReporter Key: A20E10D5-6F1E-2D79-32CF-28702406AC2E Hardware Model: MacBookAir7,2 Process: Xcode [1528] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 14.2 (21534) Code Type: X86-64 (Native) Role: Background Parent Process: launchd [1] Coalition: com.apple.dt.Xcode [1759]

Date/Time: 2024-02-03 12:21:20.5552 +0100 Launch Time: 2024-02-03 12:21:03.3847 +0100 OS Version: macOS 12.7.3 (21H1015) Release Type: User Report Version: 104

Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Highlighted by Thread: 0

Backtrace not available

No thread state (register information) available

Binary Images: Binary images description not available

Error Formulating Crash Report: dyld_process_info_create failed with 5 Failed to create CSSymbolicatorRef - corpse still valid ¯_(ツ)/¯ thread_get_state(PAGEIN) returned 0x10000003: (ipc/send) invalid destination port thread_get_state(EXCEPTION) returned 0x10000003: (ipc/send) invalid destination port thread_get_state(FLAVOR) returned 0x10000003: (ipc/send) invalid destination port

EOF


Full Report

{"app_name":"Xcode","timestamp":"2024-02-03 12:21:20.00 +0100","app_version":"14.2","slice_uuid":"edc99d0c-7b3f-39c3-9b55-3cf3a5167ac7","adam_id":"497799835","build_version":"21534","platform":0,"bundleID":"com.apple.dt.Xcode","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.7.3 (21H1015)","incident_id":"11BAF42A-3296-4E53-A3D2-383FB89F5861","name":"Xcode"} { "uptime" : 5700, "procLaunch" : "2024-02-03 12:21:03.3847 +0100", "procRole" : "Background", "version" : 2, "userID" : 502, "deployVersion" : 210, "modelCode" : "MacBookAir7,2", "procStartAbsTime" : 5747929443212, "coalitionID" : 1759, "osVersion" : { "train" : "macOS 12.7.3", "build" : "21H1015", "releaseType" : "User" }, "captureTime" : "2024-02-03 12:21:20.5552 +0100", "incident" : "11BAF42A-3296-4E53-A3D2-383FB89F5861", "bug_type" : "309", "pid" : 1528, "procExitAbsTime" : 5765098810007, "cpuType" : "X86-64", "procName" : "Xcode", "procPath" : "/Applications/Xcode.app/Contents/MacOS/Xcode", "bundleInfo" : {"CFBundleShortVersionString":"14.2","CFBundleVersion":"21534","CFBundleIdentifier":"com.apple.dt.Xcode"}, "buildInfo" : {"ProjectName":"IDEFrameworks","SourceVersion":"21534000000000000","ProductBuildVersion":"14C18","BuildVersion":"49"}, "storeInfo" : {"storeCohortMetadata":"10|date=1706954400000&sf=143443&pgtp=Search&pgid=osx&prpg=Genre_25210&ctxt=Search&issrch=1&imptyp=card&kind=macSoftware&lngid=4","itemID":"497799835","deviceIdentifierForVendor":"D64FD3BF-FEE9-5F86-8625-9ACAC1423CDB","thirdParty":true,"softwareVersionExternalIdentifier":"853602198"}, "parentProc" : "launchd", "parentPid" : 1, "coalitionName" : "com.apple.dt.Xcode", "crashReporterKey" : "A20E10D5-6F1E-2D79-32CF-28702406AC2E", "sip" : "enabled", "isCorpse" : 1, "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"}, "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0}, "sharedCache" : { "base" : 140703287570432, "size" : 19331678208, "uuid" : "86bc6103-e387-3a89-a90f-c8314d49a242" }, "legacyInfo" : { "threadHighlighted" : 0 }, "trialInfo" : { "rollouts" : [ { "rolloutId" : "6112e14f37f5d11121dcd519", "factorPackIds" : { "SIRI_TEXT_TO_SPEECH" : "634710168e8be655c1316aaa" }, "deploymentId" : 240000231 }, { "rolloutId" : "6112dda2fc54bc3389840642", "factorPackIds" : { "SIRI_DICTATION_ASSETS" : "620aec83b02b354d3afd2f50" }, "deploymentId" : 240000145 } ], "experiments" : [

] }, "reportNotes" : [ "dyld_process_info_create failed with 5", "Failed to create CSSymbolicatorRef - corpse still valid ¯\(ツ)_/¯", "thread_get_state(PAGEIN) returned 0x10000003: (ipc/send) invalid destination port", "thread_get_state(EXCEPTION) returned 0x10000003: (ipc/send) invalid destination port", "thread_get_state(FLAVOR) returned 0x10000003: (ipc/send) invalid destination port" ] }

Model: MacBookAir7,2, BootROM 489.0.0.0.0, 2 processors, Dual-Core Intel Core i5, 1,8 GHz, 8 GB, SMC 2.27f2 Graphics: Intel HD Graphics 6000, Intel HD Graphics 6000, Built-In Display: Color LCD, 1440 x 900 (Widescreen eXtended Graphics Array Plus), Main, MirrorOff, Online Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x483943434E4E4E424C54424C41522D4E5444 Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x483943434E4E4E424C54424C41522D4E5444 AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x117), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1710.4) AirPort: Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: USB 10/100/1000 LAN, Ethernet, en2 Network Service: Wi-Fi, AirPort, en0 Serial ATA Device: APPLE SSD SM0128G, 121,33 GB USB Device: USB30Bus USB Device: USB3.2 Hub USB Device: USB 10/100/1000 LAN USB Device: BRCM20702 Hub USB Device: Bluetooth USB Host Controller USB Device: USB2.1 Hub Thunderbolt Bus: MacBook Air, Apple Inc., 27.2

same issue. restore from a higher version time machine backup, and then install xcode, it always crashs when launch

I have the same issue after restoring from macos15 to macos12, is there any solution?

XCode always crashes when started
 
 
Q