WidgetKit_Simulator.WidgetDocument.Error

While I try to run the widgetKit extension in xcode 15.0 beta versions, I am facing the "WidgetKit_Simulator.WidgetDocument.Error" error. Even after the app is run successfully, the app widget is not showing on the home screen to add it.