# Documentbased SwiftData apps Xcode 15-\>16

**URL:** <https://ifnotnil.com/t/documentbased-swiftdata-apps-xcode-15-16/4302>\
**Category:** Swift\
**Created:** [2 April 2025 10:32 UTC](https://ifnotnil.com/t/documentbased-swiftdata-apps-xcode-15-16/4302 "2025-04-02T10:32:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![markus](https://ifnotnil.com/letter_avatar_proxy/v4/letter/m/b782af/32.png) [@markus](https://ifnotnil.com/u/markus)\
**Post date:** [2 April 2025 10:32 UTC](https://ifnotnil.com/t/documentbased-swiftdata-apps-xcode-15-16/4302/1 "2025-04-02T10:32:40Z")

</div>

I kind of hijacked another Swift/SwiftUI posting (sorry!) because of problems with documentbased SwiftData projects - here is the answer in a new thread, just in case someone is running into the same problems.  
(link: [My recent experiences with Swift and SwiftUI](https://ifnotnil.com/t/my-recent-experiences-with-swift-and-swiftui/4280))

What I did:  
I tested my Swift/SwiftData apps on a iOS 18 test-device, before updating all my production devices. My MacBook was on macOS 14 while testing.

Results:  
While every SwiftData app (with/without iCloud Sync) worked perfectly, none of the documentbased SwiftData apps did run. There was just a white screen, no action possible. For testing, I have an older iPad, updated to iOS 18.

Solution:  
The solution is really easy: Just deploy the apps with Xcode 16 and all documentbased apps I tested are fine!

- 

I finally got an older MacBook that I could update to Sequoia, installed Xcode 16, attached the test-device - and voila!

I was really afraid because I found blog-posting saying things like ‘unless You’re very happy, there might/will be issues after updating…’. I have 3 important (for me) documentbased apps and I re-created 2 of them as ‘normal’ SwiftData apps, just in case.

Due to some other (FileMaker) projects I have to support, I could not update my MacBook to Sequoia earlier

---

<div class="post-metadata">

**Author:** ![markus](https://ifnotnil.com/letter_avatar_proxy/v4/letter/m/b782af/32.png) [@markus](https://ifnotnil.com/u/markus)\
**Post date:** [28 May 2025 14:28 UTC](https://ifnotnil.com/t/documentbased-swiftdata-apps-xcode-15-16/4302/2 "2025-05-28T14:28:20Z")

</div>

If one’s retired, does not mean that one has more time…

Due to several projects, I found the time to update all of my iOS devices some days ago

→ The solution for my document-based Swift/SwiftUI application turned out to be that simple (Why did I get no answer from the Apple forums?):

→ just update Your devices, after updating, ALL of my document-based app’s are working, not one problem (beside of the app-icon color). The updater does so many things behind the scenes..

---

<div class="post-metadata">

**Author:** ![npalardy](https://ifnotnil.com/user_avatar/ifnotnil.com/npalardy/32/10_2.png) [@npalardy](https://ifnotnil.com/u/npalardy)\
**Post date:** [28 May 2025 15:16 UTC](https://ifnotnil.com/t/documentbased-swiftdata-apps-xcode-15-16/4302/3 "2025-05-28T15:16:29Z")

</div>

makes me wonder what they broke along the way that messed them up that the update fixed
