Crash in HKQuantitySample(type:quantity:startDate:endDate:metadata:)

Originator:me
Number:rdar://21555352 Date Originated:25-Jun-2015 06:44 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode-beta (7A121l)
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
Crash because HealthKit tries to invoke +hk_acceptsMetadataValue: on a specialized Swift.Dictionary class.

Steps to Reproduce:
Run the attached playground.

Expected Results:
Print the description of the created HKQuantitySample

Actual Results:
Crash because _TtGCSs29_NativeDictionaryStorageOwnerSSPSs9AnyObject__ does not respond to +hk_acceptsMetadataValue:

Notes:
Attachment: http://a2.d.pr/19nP5

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!