I am trying to integrate the new iOS 18 document launching experience with my app, but opening or saving files fails with the RC version of Xcode 16. The error I receive is "Publishing changes from background threads is not allowed."
I downloaded Apple's new sample code ("Writing app"), and it fails with the same error.
Is there an easy fix for this?
Hello @j.blake.harris, I believe you are referring to the Building a document-based app with SwiftUI sample code project. Please use Feedback Assistant to submit a bug report and post here your bug report's ID. When testing this, I was able to reproduce the issue on the iOS 18 Simulator app, but not on a device running the iOS 18 developer beta, or on Sonoma when I select the macOS target.