Skip to content

Commit 6d5c45a

Browse files
Stijn Willemsclaude
andcommitted
fix: Add compile-time warning for disabled CloudKit on Swift 6.3+
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent b3082bb commit 6d5c45a

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// CloudKitAvailability.swift
2+
// Compile-time warning for Swift 6.3+ users
3+
4+
#if compiler(>=6.3)
5+
#warning("""
6+
CloudKit functionality is disabled on Swift 6.3+ due to compiler crashes.
7+
See https://github.com/doozMen/sqlite-data/issues/2 for details.
8+
Use Swift 6.2.x if you need CloudKit synchronization features.
9+
""")
10+
#endif

0 commit comments

Comments
 (0)