Each time I try to launch Xcode 26, it immediately crashes in SourceEditorDataSource.ideChat_gracefullyApplyChangesToReflect.
I'm now no longer able to use Xcode.
A partial crash log attached.
So far I've tried deleting derived data, rebooting, deleting ~/Library/Caches/com.apple.dt.Xcode.
What should I do?
Thank you in advance for any help.
Hi, there. Sorry you're dealing with this.
We're aware of the issue and you can expect a broad fix to make its way into an Xcode near you soon.
In the meantime, you can resolve this by removing the local user state for your Xcode Project or Workspace:
- Quit Xcode (if it's still running, or if another workspace is open).
- In Finder, find your .xcodeproj file
- Right-click it > "Show Package Contents"
- Navigate to: {project}.xcworkspace → xcuserdata
- Delete the xcuserdata folder
Once you relaunch Xcode, you may need to recreate any user-local state for your project or workspace, but the crash will be gone and you will be able to keep working.
Please follow up if you have any further difficulties. Thanks.