Interactive widgets iOS 17. Animation breaks when the device is disconnected from the console

I run the WidgetKit project on iOS 17 in build configuration: release, while debug executable is working, it works fine, I click on the button in the widget everything works, but without it it breaks

Hi! I have a similar problem. Have you identified the problem?

Interactive widgets iOS 17. Animation breaks when the device is disconnected from the console
 
 
Q