TelemetryDeck / SwiftSDK

Swift SDK for TelemetryDeck, a privacy-conscious analytics service for apps and websites.
https://telemetrydeck.com/
Other
148 stars 30 forks source link

I/O on the main thread #148

Open magnusburton opened 3 months ago

magnusburton commented 3 months ago

I'm getting the following runtime warning in Xcode at the referenced line.

This code path does I/O on the main thread underneath that can lead to UI responsiveness issues. Consider ways to optimize this code path

https://github.com/TelemetryDeck/SwiftClient/blob/ab7455cc763da7f0b9d8803682a362ac78aafdec/Sources/TelemetryClient/SignalCache.swift#L73

dpelletier2017 commented 3 months ago

Same warning here. Xcode 15.3, iOS 17.2 target.