does iOS 17 change how lock screen widgets work?

I have some apps that work fine under the iOS16 simulator, but they stop working in iOS17. It's the same code other than a minor tweak (*), and doesn't work under iOS17.

(*) When building, for iOS17 I needed to add a call to
.containerBackground(.fill.tertiary, for: .widget) for the View in the WidgetConfiguration for it to not throw an error.

Are there any other changes needed, because now my lock screen widgets no longer work.

thank you!

The way this manifests is that when I try to configure the lock screen to add widgets, the app's widget are not in the menu showing widgets to add.

does iOS 17 change how lock screen widgets work?
 
 
Q