Post

Replies

Boosts

Views

Activity

Reply to Nasty problems in Xcode 26.2: Apple Intelligence crash & Source Code Control Failure
SOLUTION: Delete workspace user state files If Xcode crashes when opening the AI Intelligence tab in a specific project, the issue is corrupted UI state data in your workspace. Fix: Close Xcode completely Navigate to your project directory in Terminal and delete UserInterfaceState.xcuserstate: rm YourProject.xcodeproj/project.xcworkspace/xcuserdata/YOUR_USERNAME.xcuserdatad/UserInterfaceState.xcuserstate This resolved the crash for me in Xcode 26.2 on macOS 26.2. What this does: Deletes the corrupted workspace UI state (including Intelligence chat history). Xcode will recreate it fresh. You'll lose panel positions and open tabs, but all your code and project settings remain intact.
2w
Reply to Nasty problems in Xcode 26.2: Apple Intelligence crash & Source Code Control Failure
Same here: Xcode 26 crashes as soon as Coding Intelligence is enabled or Coding Intelligence tab is opened. Crashes for this particular one project only. Deleting xcuserdata did not help. Can't seem to find where Xcode is storing Coding Intelligence chat history, which seems to be the culprit. Crash report excerpt: "exception" : {"codes":"0x0000000000000001, 0x000000016010bfb0","rawCodes":[1,5906677680],"type":"EXC_BREAKPOINT","signal":"SIGTRAP"}, "termination" : {"flags":0,"code":5,"namespace":"SIGNAL","indicator":"Trace\/BPT trap: 5","byProc":"exc handler","byPid":2620}, "os_fault" : {"process":"Xcode"}, "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}, "faultingThread" : 0, "threads" : [{"frames":[{"imageOffset":5242800,"symbol":"closure #1 in SourceEditorDataSource.ideChat_gracefullyApplyChangesToReflect(_:editApplier:)","symbolLocation":2292,"imageIndex":339},{"imageOffset":3689220,"symbol":"SourceEditorDataSource.performEditTransaction(_:)","symbolLocation":52,"imageIndex":129},{"imageOffset":5237704,"symbol":"SourceEditorDataSource.ideChat_gracefullyApplyChangesToReflect(_:editApplier:)","symbolLocation":1168,"imageIndex":339},{"imageOffset":5207920,"symbol":"ChatInputEditorView.updateView(_:context:)","symbolLocation":624,"imageIndex":339},
2w