Compiling the stock "Multiplatform Document App" template results in errors

Hello!
I've noticed that if you compile the stock "Document App" template, Xcode complains about publishing changes from background threads. Doesn't matter if you compile for iOS or for MacOS... Not allowed!

Curious to learn more, and to hear what people suggest as the best fix... ignoring it doesn't seem to cause any issues, but that just doesn't feel right.

Xcode 16, iOS 18, macOS 15