Xcode Crashes when viewing XCUITest Result

I've been working on UI Tests for a month or two and things have been great. But I believe there was a recent update to Xcode [running Version 26.2 (17C52)] and since then about 80% of the time when I try to view the test results so I can see the screenshots and video, Xcode crashes hard and I have to open it again.

I've tried cleaning the Build folder and Derived Data and all sorts of stuff like that. Restarted Xcode, restarted my computer, etc.

Any idea of how I can avoid these crashes?

Answered by Developer Tools Engineer in 871049022

Hi Kenny,

There should be a file in ~/Library/Logs/DiagnosticReports/ that is named something like Xcode-$timestamp.ips - if you can share that then I can check to see if there are known workarounds.

Also have you/can you submit a Feedback item with the details of the crash?

Hi Kenny,

There should be a file in ~/Library/Logs/DiagnosticReports/ that is named something like Xcode-$timestamp.ips - if you can share that then I can check to see if there are known workarounds.

Also have you/can you submit a Feedback item with the details of the crash?

Having the exact same problem after upgrading from to 26.2!

@terri Please follow the instructions above to get to the crash file and post it here to analyze.

Posting a Crash Report explains how to do so.

Albert Pascual
  Worldwide Developer Relations.

Xcode Crashes when viewing XCUITest Result
 
 
Q