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.