Fix Release build for App Store deployment — manual signing and #if DEBUG guard

- Switch Release config to manual signing (Apple Distribution, SportsTime Dist profile)
- Wrap SyncStatusMonitor.syncFailed call in #if DEBUG to fix Release compilation
- Add deploy instructions to CLAUDE.md

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Trey T
2026-03-27 10:33:28 -05:00
parent 741924f6fc
commit 65fbb596a8
3 changed files with 45 additions and 3 deletions

View File

@@ -371,7 +371,9 @@ final class CanonicalSyncService {
SyncLogger.shared.log("⚠️ [SYNC] Failed to save error state: \(saveError.localizedDescription)")
}
#if DEBUG
SyncStatusMonitor.shared.syncFailed(error: error)
#endif
throw error
}