App with DeviceActivityReport extension either won't install on device or won't upload to TestFlight

We have integrated DeviceActivityReport to our Family Controll app. All capabilities are added. We built the app and tested it, but when we want to upload to TestFlight the following error happened (see attached image)

When we are adding NSExtensionMainStoryboard or NSExtensionPrincipalClass the following error appears during installation process.

DeviceReport.appex with id com.example.example.DeviceReport defines either an NSExtensionMainStoryboard or NSExtensionPrincipalClass key, which is not allowed for the extension point com.apple.deviceactivityui.report-extension
App with DeviceActivityReport extension either won't install on device or won't upload to TestFlight
 
 
Q