Instruments fails while processing SwiftUI recording

I’m seeing a consistent Instruments error after recording a SwiftUI profile:

“Failed to stop recording session: Data Providers emitted errors: Required”

The recording itself starts and runs normally. The error appears only after I stop recording, while Instruments is processing the trace. No profiling results are produced.

Environment:

  • Xcode 27.0 beta 5 (27A5237l)
  • Instruments 27.0 (27A5237l)
  • Physical iOS device running the latest beta

I can reproduce this consistently using the SwiftUI template. I’ve also tried updating Instruments and restarting the tools, but the issue remains.

Expected: The trace finishes processing and displays the collected data.

Actual: Processing fails with the data-provider error above.

Answered by sashamoroz in 901382022

It seems like the issue was caused by a beta-version mismatch. The device was on beta 4 while Xcode/macOS were on beta 5. After updating the device to the latest beta, the error disappeared and I could no longer reproduce it.

Accepted Answer

It seems like the issue was caused by a beta-version mismatch. The device was on beta 4 while Xcode/macOS were on beta 5. After updating the device to the latest beta, the error disappeared and I could no longer reproduce it.

Instruments fails while processing SwiftUI recording
 
 
Q