Settings not working with DocumentGroup

I am rewriting my app with goodies from WWDC 2022. This is for MacOS only, it is based on the Document Template from Xcode 14 beta 2.

When I try to add the Settings scene as shown below I get two errors, with or without my SettingsView referenced.

Accepted Reply

Oops! My mistake. DUH.

I had a data structure to hold the settings - it was called Settings, so duplicate name.

Change the name of the data structure and it works fine now.

Replies

Oops! My mistake. DUH.

I had a data structure to hold the settings - it was called Settings, so duplicate name.

Change the name of the data structure and it works fine now.