Impossible to remove sampled from HealthKit

Originator:Boris.Yurkevich
Number:rdar://28007271 Date Originated:25 August 2016
Status:Duplicate/27594943 Resolved:
Product:watchKit SDK Product Version:2.0
Classification:Bug (Other) Reproducible:Always
 
Summary:
When removing health samples added from iOS app on the Apple Watch app locally accessing Healthkit from Apple Watch directly, block returns success and no errors, however the water entry stays in the Health database.

Steps to Reproduce:
1. Add water sample on iOS app
2. Remove the last added sample on the iPhone app

Expected Results:
Sample removed from HealthKit

Actual Results:
WatchKit doesn't give any error, sample stays in the Health app forever.

Tested on 2 iPhone devices and on 2 Apple Watch devices.

Version:
watchOS 2.2.2 (13V604)

Notes:
Reference http://stackoverflow.com/questions/39131419/removing-water-sample-from-healthkit-on-apple-watch

Configuration:
iOS 9.3.4, iPhone 6s, iPhone 6 Plus

Attachments:

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!