StateReporting + MetricKit in the device discovery extension

I forget which extension type it is, but there is one that can discover the devices in a sandbox. Xcode 26 shows me Media Device Discovery, Xcode 27 doesn't. It could be a different one.

Which ever one it is, do you know off hand if the new StateReporting framework would report performance and usage privately to MetricKit?

I know that some frameworks report data to Apple's analytics reports, I'd potentially want to capture some performance metrics and app state changes that are happening in supporting extensions.

Answered by Frameworks Engineer in 890768022

Media Device Discovery is deprecated for Media Device.

You can still use Accessory Setup Extension to discover and set up accessories using DeviceDiscoveryExtension

I am not sure about your second question, since its outside the domain of AccessorySetupKit. Maybe split that question for Power and Performance folks to answer.

Media Device Discovery is deprecated for Media Device.

You can still use Accessory Setup Extension to discover and set up accessories using DeviceDiscoveryExtension

I am not sure about your second question, since its outside the domain of AccessorySetupKit. Maybe split that question for Power and Performance folks to answer.

StateReporting + MetricKit in the device discovery extension
 
 
Q