Menu

Checking the Instruments SwiftUI template on Xcode 27.2
📰

Checking the Instruments SwiftUI template on Xcode 27.2

DEV Community: ios·Darkø Tasevski·about 18 hours ago
#qbuLpvoB
#devtoios#devto#dev#swiftui#trace
Long article (1958 words) — no AI summary yet.
Reading 0:00
15s threshold

Last week I wrote down a recipe for finding out which SwiftUI views re-run their body , and why, using the SwiftUI template in Instruments, mostly for a reading app I'm building on the side. When the toolchain moved from Xcode 26.6 to Xcode 27.2 I went back to check that the recipe still worked, and it didn't, in a way where it took a while to tell whether the profiler or the app was the problem. These notes are about how to tell those two apart, plus one thing about trace files that I didn't know before.

What the recipe gave on Xcode 26.6

The recipe records the Mac Catalyst build of the app with xctrace , attached by process id.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.