Importing data to Health.app fails
Originator: | dloewenherz |
|
Number: | rdar://28494648 |
Date Originated: | 27-Sep-2016 09:06 AM |
Status: | Open |
Resolved: | |
Product: | iOS SDK |
Product Version: | 10.0.2 (14A456) |
Classification: | Crash/Hang/Data Loss |
Reproducible: | Always |
Summary:
HKHealthStore fails to save all samples in some situations. The batch save fails with an error which has no actionable fix and the health store fails to save all data points.
Steps to Reproduce:
1. Unzip Radar27Sep2016.zip and open the project.
2. Build and run on a device (the issue does not manifest on a simulator).
3. Wait until you see the Health data access prompt and accept.
4. Wait a few seconds.
Expected Results:
"Success!" is printed to the console and all samples are saved to the health store.
Actual Results:
The following errors are printed to the console and not all samples are saved:
Short Description: Couldn’t communicate with a helper application.
Long Description: The connection to service named com.apple.healthd.server was interrupted, but the message was sent over an additional proxy and therefore this proxy has become invalid.
Version:
10.0.2 (14A456)
Notes:
Configuration:
iPhone SE 64GB T-Mobile
Attachments:
'Radar27Sep2016.zip' was successfully uploaded.
Duplicates
Comments
ag9zfm9wZW5yYWRhci1ocmRyEgsSBVJhZGFyGICAgPC_sOIKDA
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!