I am puzzled by this - seems to be new. Running XCode7 (beta1 and beta2 see same outcome)
I am calling...
if let metadataItem = metadataItem
{
if let value = metadataItem.valueForAttribute(NSMetadataUbiquitousItemIsUploadingKey) as? NSNumber <- EXC_BAD_ACCESS
{
return Bool(value)
}
}
Seeing a hard crash when valueForAttribute is called. metadataItem appears perfectly valid.
Calling the same method with any string does the same.
Not happening in the simulator.