I am profiling a simple SwiftUI test app on my new iPhone through my new MacBook Pro and everything is version 26.2 (iOS, macOS, Xcode). I run Instruments with the SwiftUI template using all of the default settings and get absolutely zero data after interacting with the app for about 20 seconds. Using the Time Profiler template yields trace data. Trying the SwiftUI template again with the sample Landmarks app has the same issue as my app.
SwiftUI Instruments Template doesn't work
Hi there!
Thanks for the feedback, that's certainly unexpected. Are you perhaps quitting the app before the end of the recording, instead of allowing Instruments recording to stop gracefully? If you exit the app yourself, we have a known issue where data won't be transferred in time from the app to Instruments.
What is the message that you're getting in Instruments after receiving no data?
Kacper
I'm not quitting the app at all. And there is no message in Instruments -- there's just no data to view. It shows the timeline and I can select periods of time from it, but there's not a single piece of information recorded. I had this same problem on another MacBook with a different version of macOS and another phone with a different version of iOS.
Same issue here. Filed as FB23807146 with traces, DTServiceHub crash reports, and a sysdiagnose attached.
I reproduced on iPadOS 26.5.2 and the iOS 27.0 public beta, with both Xcode 26.6 and 27.0 beta, from the GUI or xctrace, and always stopping gracefully with the app frontmost. A Time Profiler-only recording of the same app works fine.
The device logs show a likely culprit for why the trace is empty: swiftuitraced never launches (launchd: failed lookup: name = com.apple.swiftuitracingsupport.xpc … No such process), and when the recording stops DTServiceHub hits "SwiftUITracingSupport/IPC.swift:548: Fatal error: swiftuitraced likely crashed. state is none" and dies while draining the ktrace session, so no data ever reaches the host. One DTServiceHub crash report per recording attempt.