Reading MXCPUMetric.cumulativeCPUInstructions is crashing in iOS 14.4.1 (Swift)

Originator:ekao
Number:rdar://FB9045062 Date Originated:3/16/2021
Status:OPEN Resolved:
Product: Product Version:
Classification: Reproducible:
 
The cumulativeCPUInstructions is null, when we read it from swift interface, the app crashed.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!