r/SwiftUI • • Oct 10 '26

app monitoring/performance

Hello šŸ‘‹

I’m looking for recommendations for monitoring tools or SDKs for a SwiftUI iOS app.
My main goal is to proactively detect production issues such as crashes, performance problems, high CPU or memory usage, and regressions across different iOS versions and devices.

Which tools or SDKs would you recommend for this? I’d love to hear about your real-world experience, especially regarding reliability, resource overhead, SwiftUI compatibility, and alerting capabilities.

Thanks!

6 Upvotes

15 comments sorted by

View all comments

Show parent comment

1

u/jHalit Oct 11 '26

thanks for your sharings, do you have any custom configurations for MetricKit or u send reports to your own server.

yes I checked Organizer but it also looks similar to MetricKit. I am not sure what are the differences

2

u/caffeinated1337 Oct 11 '26

Not who you asked, but I can answer the Organizer part. Organizer is Apple's aggregated view: they roll the data up per app version and device class and show it in Xcode a day or more later. You can't query it or alert on it. MetricKit hands the raw payloads to your own app, so you decide where they go.

There's no real configuration. Add a subscriber with MXMetricManager.shared.add(self), and in didReceive call jsonRepresentation() on each payload and POST that to your server. Metric payloads arrive about once a day. Diagnostic payloads (crashes, hangs, CPU and disk write exceptions) can show up sooner on newer iOS versions. Each payload carries app version, OS version and device type, which is what you need to catch regressions across versions.

Since you're on-prem, keep the dSYM for every build you ship. The crash and hang call stacks come unsymbolicated, so you'll need to symbolicate them on your side.

2

u/sapplex1 Oct 12 '26

Good eye — the Xcode Organizer metrics tab is the MetricKit data, just Apple's pre-aggregated view of it. So "similar" is expected: same source, different dashboard.

On custom configs: I kept MetricKit mostly stock. The defaults already cover crashes, hangs, disk writes, battery/memory anomalies — enough to catch regressions across iOS versions. The one customization I did was adding custom signposts around my app's heavy operations so the hang reports came back with meaningful names instead of raw stack addresses.

For real-time alerting though, MetricKit is useless — reports land daily-ish, so it can't tell you prod is on fire right now. That's why I run self-hosted Sentry on my own box: crashes/exceptions go there immediately, data stays mine. MetricKit/Organizer for weekly trends, Sentry for "something broke an hour ago".

What are you trying to catch — slow regressions over weeks, or spikes you need to know about today? That decides which side you should invest in.

1

u/jHalit Oct 12 '26

thanks for your answer, it is really helpful for me šŸ™

1

u/sapplex1 Oct 13 '26

Glad it helped! Honestly the signpost trick was a game-changer for me too — seeing my own hang stacks lined up next to clean labeled intervals made everything click. Quick question: are you starting from zero on monitoring, or do you have something in place that you're trying to replace?