v1.8.5
Hotfix release: stops the launch-time crash introduced in 1.8.4 (EXC_BREAKPOINT from libdispatch: trying to lock recursively) by guarding the AppSettingsCache initialization against the lazy-static dispatch_once re-entry that happens when LoggerService warms up during first-launch SwiftData setup.
Highlights
- Launch crash fix:
AppSettingsCachenow mirrors the existingLoggerService.initDepthre-entrancy guard. Reads return their declared default and writes drop whileloadFromSwiftData()is running, so the cycleLocalizationManager → AppSettingsCache → SwiftDataContainer → LoggerService → LogManager → AppSettingsCachecan no longer re-enter the samedispatch_oncetoken. Affects every build configuration (Debug and Release).
Detailed Changes
- Add
AppSettingsCache.initDepthbookkeeping and gate every publicget*/set*/removeaccessor on it - Bump
initDepthinsideensureLoaded()whileloadFromSwiftData()runs, so transitive calls back intoAppSettingsCache.sharedduring the launch-time init chain no-op - Bump marketing version to 1.8.5 and build number to 28 across
project.yml, both Info.plists, anddocs/_config.yml