Replies: 2 comments 2 replies
-
|
Same question, looking for answers. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @npro1001, this is a very broad question and so I'm not really sure how to answer it. There are certainly hundreds of developers using the CloudKit sync tools of the library, and so far the only problems we have heard about are things that we were actually able to fix and ship new releases. Contrast that with SwiftData and the best you can do is file a Feedback with Apple and hope it is fixed by next year's WWDC. As for your bullet points:
I'm not entirely sure why that would be happening, but at the very least SQLiteData has extensive logging to let you know what is going on under the hood.
Are these errors simply that the iCloud account has run out of space? If so, that is something we are currently working to make observable by users of SQLiteData so that they can message that to their users (#335).
SQLiteData favors explicit migrations over implicit migrations of SwiftData, and typically it greatly reduces these kinds of problems.
As mentioned above, SQLiteData outputs lots of logs that let you know exactly what is happening. This has been helpful for us as library maintainers because it means that people can submit much better bugs for us to investigate. For example, issue #315 was able to provide very precise logs that demonstrated exactly what was happening: So overall we feel that there are a lot of benefits of SQLiteData over SwiftData, but at the end of the day it's really up to you to make the call. Do let us know if you have more concrete questions that we can answer though. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone 👋
I’m fairly new to Swift development (I have a broad background, but my current role is in enterprise cloud architecture), and I’ve spent this year diving into building my first iOS apps. It’s been a fun and humbling learning curve, and my current project is now at the TestFlight/App Review stage - which I’m really excited about and expecting to grow.
The app uses SwiftData with CloudKit and includes a share extension. While the local persistence layer has worked great, CloudKit has felt like an unpredictable black box:
Overall, it’s made it difficult to build confidence in the reliability of CloudKit for production use - especially as a beginner.
I recently came across SQLiteData, and it looks like it could offer the kind of control and visibility I’ve been missing with SwiftData’s CloudKit integration. Plus the ability for iCloud sharing. That said, I don’t want to make a rash decision to swap out my data layer this close to launch.
I’m torn between:
I’d really appreciate any perspective or guidance from folks who’ve been in the trenches with CloudKit, SwiftData, and/or SQLiteData - especially around sync reliability, large asset handling, and long-term maintainability.
Thanks so much for taking the time to read this - I’m genuinely trying to make the right architectural decision before launching. 🙏
If you're curious about the app, I've been sharing the journey on instagram
Beta Was this translation helpful? Give feedback.
All reactions