Sometimes iOS profiles will label frames in the Sentry SDK as "application" and other times they will be "system". I'd expect the same code is always attributed the same way.
labeled as system:

labeled as application:

The problem seems to stem from an override that gets applied to frame classification when the symbol is in Sentry.framework, which only applies when using certain package managers that add Sentry as a dynamic framework instead of static. When it's added as a static framework this override does not kick in. More details in: #78
One fix for this could be to remove this override and always classify it as application, then we would be consistent, but in general with profiling the sentry SDK tends to get classified as system not application so that would introduce a new bug.
Example profile: https://sentry-sdks.sentry.io/insights/summary/profiles/?project=5428557&query=Noah3&statsPeriod=30d&transaction=Noah3%20Transaction
Sometimes iOS profiles will label frames in the Sentry SDK as "application" and other times they will be "system". I'd expect the same code is always attributed the same way.
labeled as system:

labeled as application:

The problem seems to stem from an override that gets applied to frame classification when the symbol is in Sentry.framework, which only applies when using certain package managers that add Sentry as a dynamic framework instead of static. When it's added as a static framework this override does not kick in. More details in: #78
One fix for this could be to remove this override and always classify it as application, then we would be consistent, but in general with profiling the sentry SDK tends to get classified as system not application so that would introduce a new bug.
Example profile: https://sentry-sdks.sentry.io/insights/summary/profiles/?project=5428557&query=Noah3&statsPeriod=30d&transaction=Noah3%20Transaction