Help users understand and manage their health with dynamic care plans, symptom tracking, connection to care teams, and more with the CareKit open-source framework.

Posts under CareKit tag

22 Posts

Post

Replies

Boosts

Views

Activity

Is it possible to distinguish real vs manually added running data in HealthKit?
I am developing an iOS application that utilizes running workout data from the iOS Health app / Fitness app via HealthKit, with explicit user permission. Before finalizing the app design, I would like to clarify several technical aspects related to data reliability, manual entry, record modification, and GPS route availability in HealthKit. My questions are as follows: 1. Identifying manually added (non-physical) running workouts When a running workout is created in the Health app without actual physical movement (for example, a workout manually added by the user), is there any metadata, flag, or key in HealthKit that allows developers to distinguish these records from workouts generated through actual motion tracking (iPhone or Apple Watch)? 2. Editing existing running workout records Is it possible for users, or for third-party apps with HealthKit write permission, to edit an existing running workout (e.g., distance, duration, calories) after it has been saved? • If edits are allowed, are the original values preserved in any way, or are they fully overwritten? 3. Detecting modified workout records If a running workout (whether originally auto-recorded or manually created) has been edited after creation, is there any identifier, metadata field, source revision, or versioning mechanism in HealthKit that allows developers to detect that the workout has been modified? 4. Access to GPS route / running path data For outdoor running workouts recorded with location services enabled: • Does HealthKit provide access to GPS route data (running paths / location traces) associated with a workout? • Is this route data accessible to third-party apps with user permission? • Is route data available only for workouts recorded on Apple Watch, or also for iPhone-only recordings? • Is there a way to determine programmatically whether a running workout includes valid GPS route data? The overall goal is to understand whether, when building an app that relies on HealthKit running data, it is technically possible to differentiate motion-based workouts from manually added or edited records, and to assess the availability of route information for outdoor runs. Any clarification or references to official documentation would be greatly appreciated. Thank you
1
0
372
Dec ’25
Rejected using Healthkit
Hi all, I'm developing fitness app and I use healthkit to track user's "STEPS" count from their iphone devices. I have been receiving this rejection and can't seem to get past this: Guideline 2.5.1 - Performance - Software Requirements The app uses the HealthKit or CareKit APIs but does not clearly identify the HealthKit and CareKit functionality in the app's user interface. Apps using these APIs should be clearly indicated to provide transparency and valuable information to users. Next Steps To resolve this issue, it would appropriate to clearly identify the HealthKit and CareKit functionality in the app's user interface. Resources Learn more about software requirements in guideline 2.5.1. I have modified my app: adding user permission prompt, adding healthkit notification, adding healthkit indicator in the UI, adding healthkit information in the onboarding process. I keep getting the same message. When I asked the reviewer what else could be done to satisfy the requirement, I only get boiler plate message above. Anyone know what they really looking for? Any insights is appreciated. Thanks!
1
1
431
Oct ’25
Read sleep schedule
Hi Is there a way to read the sleep schedule i have set in either the health or clock apps? I found a few posts on here asking the same thing and the responce was always either no or just no responce but they are all from over 2 years ago so im not sure if something has changed since then. Up untill recently i was using a shortcuts automation to get the data but a recent update started excluding the sleep schedule alarm from the list that the shortcuts app can pull from the clock app. I dont want historical data, just when the alarm is set to go off next. I was using it to turn my lights on dim half an hour before the alarm goes off without having to set the schedule in 2 places. I have an annoyingly inconsistent morning schedule. Thanks
2
0
1.7k
Oct ’23
CareKit: Unable to adopt protocol 'OCKSurveyTaskViewControllerDelegate'
Hello all, this could surely be a newbie mistake but I'm unable to adopt this protocol to my class object I've created in a new project. The Error: "Cannot find type 'OCKSurveyTaskViewControllerDelegate' in scope" import CareKit import CareKitUI import CareKitStore import ResearchKit import UIKit import os.log final class CareFeedViewController: OCKDailyPageViewController, OCKTaskSurveyViewControllerDelegate { } However, I've been able to locate the 'OCKSurveyViewController.swift" file in the CareKit framework from SPM which has the protocol defined there, but I'm still unable to utilize it. Was the protocol only for demonstration purposes and not for use outside of the WWDC21 - CareKit Code Along?
1
0
1.4k
Jul ’23
Can't run Research and Care App (WWDC Code Along)
Hello everyone, I just started watching the WWDC21 Code Along "Build a Research and Care App, Part 1" and wanted to run the project in Xcode. However, when I clone the Repo with the recommended git clone --recurse-submodule https://github.com/carekit-apple/WWDC21-RecoverApp.git command and open the project, I get the following error: /WWDC21-RecoverApp/Recover Part 1/Recover.xcodeproj This Copy Files build phase contains a reference to a missing file 'ResearchKit.framework'. /WWDC21-RecoverApp/ResearchKit only contains 2 files (CONTRIBUTING.md and LFS-Files). I was wondering how I could get the project up and running and if there are additional steps to take, that I didn't see in the presentation / Github Readme. Thanks!
3
0
2.2k
Jun ’23
Cannot find 'OCKSurveyTaskViewController' in scope
While implementing WWDC21's Build a research and care app(https://developer.apple.com/news/?id=jbprpg8c), an error occurred in Xcode when trying to use OCKSurveyTaskViewController and OCKSurveyTaskViewControllerDelegate. The Xcode version currently in use is version 14.2, and CareKit and ResearchKit use the main branch on GitHub as of February 1, 2023 Like the reply to the issue posted at https://github.com/carekit-apple/CareKit/issues/645, even if I try a specific version of CareKit and clean the build folder, the same situation repeats. How should i solve this?
0
0
753
Feb ’23
Need help
Received a letter from the moderators "Hello, Thank you for your reply. During our review, we noticed that the apps under your Apple Developer Program account appear to have been created for various organizations. They share the same basic structure, format, or framework, and only vary in branding and content. Apps with shared or similar content as such are considered to be out of compliance with the Guideline 5.2.1 of the App Store Review Guidelines. To resolve the issue, these types of apps need to be submitted by the business or content owner under its own Apple Developer Program account. If you are submitting the app on behalf of a client, you should instruct your client to create its own Apple Developer Program account and submit the app under its own account. Best regards, " The situation is this. I put together an application for personal use with friends, since I do not have a developer account, I asked a friend to publish my application. But they don't want to publish it! What to do? who can help? who can explain what is the problem?
3
1
1.4k
Dec ’22
steps count mismatch Apple health kit app to our custom App
Dear Apple Support  Team,   We are an enterprise user and creating an app to drive fitness challenge in our organization. We would be displaying challenges to participate and  given them option to see the progress on daily basis.   To achieve that we are getting step Count/distance covered data from HealthKit.   However, while doing so we are facing the below issue   When we compared the HealthKit data which we receive and the data we see in Health App in iPhone are different. Example: healthkit data which we get shows 15000 steps but when we compare the steps with the user it is around 12000 steps. We are getting it in excess always. How do we solve this ?   Does Health App Combine the steps tracked through iPhone and apple watch ? If we walk with the iPhone and Fitness watch, both device will record data in same time ? Will it add both or merge to avoid duplicates ?   We tried to create running challenge but we are getting distance for the users though the user did not run. The user actually walked without initiating the Running but still we get the data under running with the distance. Can we get unique records for running and walking ?
1
0
2.4k
Jul ’22
Scaling SensorKit for commercialize use
To whom it may concern, After reviewing the documents, we realized that SensorKit is available only for the research study. I'm writing this email to ask two questions regarding the purpose of Sensorkit. First, Are you planning to open the Sensorkit for regular apps with a focus on health and wellness or it's going to be limited to only Research? Second, if it's going to be limited to only research, then what would be the goal of the app/research if we can't provide to everyone and scale the business (of course with user permission and consent)? I appreciate your time in advance and looking forward to hearing from you. Thanks, Mohsen
1
0
1.4k
Apr ’22
How do I measure/get a heartbeat at thousands of seconds from Apple Watch?
Can Apple Watch provide complete data on the heartbeat for thousands of seconds during the workout or when using the "Breathe" app? When I exported data from Apple Health it shows the following data. The rows 195, 196 & 197 are measurements taken through the "Breathe" app. Thank you for your answers,
4
0
1.7k
Mar ’22
Your app uses the HealthKit or CareKit APIs but does not indicate integration with the Health app in your app description and clearly identify the HealthKit and CareKit functionality in your app's user interface.
Please help me to find out the below error related to health kit. Sometimes before we have start health kit implementation in our application, so we have enable the health kit setting form identifier(bundle ID) but now we don't need health kit so we remove all the configuration and code related to health kit from our application. We have summited our app on apple store with some other changes but app rejected from the below error. Guideline 2.5.1 - Performance - Software Requirements Your app uses the HealthKit or CareKit APIs but does not indicate integration with the Health app in your app description and clearly identify the HealthKit and CareKit functionality in your app's user interface. Next Steps To resolve this issue, please revise your app description to specify that your app integrates with the Health app, and clearly identify the HealthKit functionality in app's user interface to avoid confusion.
0
0
1.2k
Jan ’22
Did iOS15 / WatchOS8 bring Health "Calculation" Changes?
Hi, I have noticed some drastic changes in some of the calculations/metrics that I get out of the Apple Health Apps since updating to the iOS15 Beta and WatchOS 8 Beta. Let me preface this by saying there have been no changes to my health or workouts, way I use the watch or phone since updating. For instance, my V02 max which has been in the 36-38 range for nearly two years suddenly dropped to 32-33 range since the update. The Blood Oxygen measurements as well have been much more erratic - I am usually in the 97-100% range, but since updating I have been anywhere from 90-100, and if I take two measurements right after each other I might get one @ 90 and one at 100. Thanks, Remy
0
0
687
Aug ’21
Is it possible to distinguish real vs manually added running data in HealthKit?
I am developing an iOS application that utilizes running workout data from the iOS Health app / Fitness app via HealthKit, with explicit user permission. Before finalizing the app design, I would like to clarify several technical aspects related to data reliability, manual entry, record modification, and GPS route availability in HealthKit. My questions are as follows: 1. Identifying manually added (non-physical) running workouts When a running workout is created in the Health app without actual physical movement (for example, a workout manually added by the user), is there any metadata, flag, or key in HealthKit that allows developers to distinguish these records from workouts generated through actual motion tracking (iPhone or Apple Watch)? 2. Editing existing running workout records Is it possible for users, or for third-party apps with HealthKit write permission, to edit an existing running workout (e.g., distance, duration, calories) after it has been saved? • If edits are allowed, are the original values preserved in any way, or are they fully overwritten? 3. Detecting modified workout records If a running workout (whether originally auto-recorded or manually created) has been edited after creation, is there any identifier, metadata field, source revision, or versioning mechanism in HealthKit that allows developers to detect that the workout has been modified? 4. Access to GPS route / running path data For outdoor running workouts recorded with location services enabled: • Does HealthKit provide access to GPS route data (running paths / location traces) associated with a workout? • Is this route data accessible to third-party apps with user permission? • Is route data available only for workouts recorded on Apple Watch, or also for iPhone-only recordings? • Is there a way to determine programmatically whether a running workout includes valid GPS route data? The overall goal is to understand whether, when building an app that relies on HealthKit running data, it is technically possible to differentiate motion-based workouts from manually added or edited records, and to assess the availability of route information for outdoor runs. Any clarification or references to official documentation would be greatly appreciated. Thank you
Replies
1
Boosts
0
Views
372
Activity
Dec ’25
Rejected using Healthkit
Hi all, I'm developing fitness app and I use healthkit to track user's "STEPS" count from their iphone devices. I have been receiving this rejection and can't seem to get past this: Guideline 2.5.1 - Performance - Software Requirements The app uses the HealthKit or CareKit APIs but does not clearly identify the HealthKit and CareKit functionality in the app's user interface. Apps using these APIs should be clearly indicated to provide transparency and valuable information to users. Next Steps To resolve this issue, it would appropriate to clearly identify the HealthKit and CareKit functionality in the app's user interface. Resources Learn more about software requirements in guideline 2.5.1. I have modified my app: adding user permission prompt, adding healthkit notification, adding healthkit indicator in the UI, adding healthkit information in the onboarding process. I keep getting the same message. When I asked the reviewer what else could be done to satisfy the requirement, I only get boiler plate message above. Anyone know what they really looking for? Any insights is appreciated. Thanks!
Replies
1
Boosts
1
Views
431
Activity
Oct ’25
Apple Car Kit & carOS
Hi, The Car Kit Apple introduced recently is it a separate OS or what ? I mean how can I develop and deploy a whole new designed Car Info System and dashboards same as the designs Apple published last year ? Kindest Regards
Replies
0
Boosts
0
Views
796
Activity
Dec ’23
Read sleep schedule
Hi Is there a way to read the sleep schedule i have set in either the health or clock apps? I found a few posts on here asking the same thing and the responce was always either no or just no responce but they are all from over 2 years ago so im not sure if something has changed since then. Up untill recently i was using a shortcuts automation to get the data but a recent update started excluding the sleep schedule alarm from the list that the shortcuts app can pull from the clock app. I dont want historical data, just when the alarm is set to go off next. I was using it to turn my lights on dim half an hour before the alarm goes off without having to set the schedule in 2 places. I have an annoyingly inconsistent morning schedule. Thanks
Replies
2
Boosts
0
Views
1.7k
Activity
Oct ’23
CareKit: Unable to adopt protocol 'OCKSurveyTaskViewControllerDelegate'
Hello all, this could surely be a newbie mistake but I'm unable to adopt this protocol to my class object I've created in a new project. The Error: "Cannot find type 'OCKSurveyTaskViewControllerDelegate' in scope" import CareKit import CareKitUI import CareKitStore import ResearchKit import UIKit import os.log final class CareFeedViewController: OCKDailyPageViewController, OCKTaskSurveyViewControllerDelegate { } However, I've been able to locate the 'OCKSurveyViewController.swift" file in the CareKit framework from SPM which has the protocol defined there, but I'm still unable to utilize it. Was the protocol only for demonstration purposes and not for use outside of the WWDC21 - CareKit Code Along?
Replies
1
Boosts
0
Views
1.4k
Activity
Jul ’23
visionOS and Healthcare
I would love to chat with someone around the possibilities surrounding healthcare and visionOS. I would LOVE to work with incorporating VisionOS into my SIMLab, especially for my surgery residents and eventually with my virtual providers.
Replies
1
Boosts
0
Views
861
Activity
Jul ’23
Can't run Research and Care App (WWDC Code Along)
Hello everyone, I just started watching the WWDC21 Code Along "Build a Research and Care App, Part 1" and wanted to run the project in Xcode. However, when I clone the Repo with the recommended git clone --recurse-submodule https://github.com/carekit-apple/WWDC21-RecoverApp.git command and open the project, I get the following error: /WWDC21-RecoverApp/Recover Part 1/Recover.xcodeproj This Copy Files build phase contains a reference to a missing file 'ResearchKit.framework'. /WWDC21-RecoverApp/ResearchKit only contains 2 files (CONTRIBUTING.md and LFS-Files). I was wondering how I could get the project up and running and if there are additional steps to take, that I didn't see in the presentation / Github Readme. Thanks!
Replies
3
Boosts
0
Views
2.2k
Activity
Jun ’23
IOS 17 mental health register in healthKit
How can I access the mental health record in healthKit to use it in my app? I am developing an application that records how the user feels in some circumstances. At WWDC23, a new iOS application was presented that records this type of data in the health application. I would like to know if it is available to use it in my applications
Replies
0
Boosts
1
Views
778
Activity
Jun ’23
Custom HealthKit samples
Is it possible to create a custom HealthKit sample type? Let's say for example I want to tack how many alcoholic beverages are consumed? Or how many times a user smokes each day? There is not a category in HealthKit for these today is it possible for my app to add them as custom data types?
Replies
0
Boosts
0
Views
970
Activity
Jun ’23
HealthKit on iPad
Is there a reason why neither HealthKit data nor the Health App is available on an iPad? And any suggestions how Apple could be convinced to enable that?
Replies
0
Boosts
0
Views
811
Activity
May ’23
Cannot find 'OCKSurveyTaskViewController' in scope
While implementing WWDC21's Build a research and care app(https://developer.apple.com/news/?id=jbprpg8c), an error occurred in Xcode when trying to use OCKSurveyTaskViewController and OCKSurveyTaskViewControllerDelegate. The Xcode version currently in use is version 14.2, and CareKit and ResearchKit use the main branch on GitHub as of February 1, 2023 Like the reply to the issue posted at https://github.com/carekit-apple/CareKit/issues/645, even if I try a specific version of CareKit and clean the build folder, the same situation repeats. How should i solve this?
Replies
0
Boosts
0
Views
753
Activity
Feb ’23
Need help
Received a letter from the moderators "Hello, Thank you for your reply. During our review, we noticed that the apps under your Apple Developer Program account appear to have been created for various organizations. They share the same basic structure, format, or framework, and only vary in branding and content. Apps with shared or similar content as such are considered to be out of compliance with the Guideline 5.2.1 of the App Store Review Guidelines. To resolve the issue, these types of apps need to be submitted by the business or content owner under its own Apple Developer Program account. If you are submitting the app on behalf of a client, you should instruct your client to create its own Apple Developer Program account and submit the app under its own account. Best regards, " The situation is this. I put together an application for personal use with friends, since I do not have a developer account, I asked a friend to publish my application. But they don't want to publish it! What to do? who can help? who can explain what is the problem?
Replies
3
Boosts
1
Views
1.4k
Activity
Dec ’22
How we can connect apple health in iOS?
There any way we can get apple data direct to server using web-hook URL or Rest API like Fitbit, Polar and other provide.
Replies
2
Boosts
0
Views
1.1k
Activity
Sep ’22
steps count mismatch Apple health kit app to our custom App
Dear Apple Support  Team,   We are an enterprise user and creating an app to drive fitness challenge in our organization. We would be displaying challenges to participate and  given them option to see the progress on daily basis.   To achieve that we are getting step Count/distance covered data from HealthKit.   However, while doing so we are facing the below issue   When we compared the HealthKit data which we receive and the data we see in Health App in iPhone are different. Example: healthkit data which we get shows 15000 steps but when we compare the steps with the user it is around 12000 steps. We are getting it in excess always. How do we solve this ?   Does Health App Combine the steps tracked through iPhone and apple watch ? If we walk with the iPhone and Fitness watch, both device will record data in same time ? Will it add both or merge to avoid duplicates ?   We tried to create running challenge but we are getting distance for the users though the user did not run. The user actually walked without initiating the Running but still we get the data under running with the distance. Can we get unique records for running and walking ?
Replies
1
Boosts
0
Views
2.4k
Activity
Jul ’22
Scaling SensorKit for commercialize use
To whom it may concern, After reviewing the documents, we realized that SensorKit is available only for the research study. I'm writing this email to ask two questions regarding the purpose of Sensorkit. First, Are you planning to open the Sensorkit for regular apps with a focus on health and wellness or it's going to be limited to only Research? Second, if it's going to be limited to only research, then what would be the goal of the app/research if we can't provide to everyone and scale the business (of course with user permission and consent)? I appreciate your time in advance and looking forward to hearing from you. Thanks, Mohsen
Replies
1
Boosts
0
Views
1.4k
Activity
Apr ’22
How to delete built in version
wwdc20-10640  Discuss WWDC20 Session 10640 - Design for the iPadOS pointer
Replies
0
Boosts
0
Views
713
Activity
Mar ’22
How do I measure/get a heartbeat at thousands of seconds from Apple Watch?
Can Apple Watch provide complete data on the heartbeat for thousands of seconds during the workout or when using the "Breathe" app? When I exported data from Apple Health it shows the following data. The rows 195, 196 & 197 are measurements taken through the "Breathe" app. Thank you for your answers,
Replies
4
Boosts
0
Views
1.7k
Activity
Mar ’22
Heath App
hi is or does anyone want to team up with a group of nurses and doctors to build apps
Replies
0
Boosts
0
Views
1.1k
Activity
Feb ’22
Your app uses the HealthKit or CareKit APIs but does not indicate integration with the Health app in your app description and clearly identify the HealthKit and CareKit functionality in your app's user interface.
Please help me to find out the below error related to health kit. Sometimes before we have start health kit implementation in our application, so we have enable the health kit setting form identifier(bundle ID) but now we don't need health kit so we remove all the configuration and code related to health kit from our application. We have summited our app on apple store with some other changes but app rejected from the below error. Guideline 2.5.1 - Performance - Software Requirements Your app uses the HealthKit or CareKit APIs but does not indicate integration with the Health app in your app description and clearly identify the HealthKit and CareKit functionality in your app's user interface. Next Steps To resolve this issue, please revise your app description to specify that your app integrates with the Health app, and clearly identify the HealthKit functionality in app's user interface to avoid confusion.
Replies
0
Boosts
0
Views
1.2k
Activity
Jan ’22
Did iOS15 / WatchOS8 bring Health "Calculation" Changes?
Hi, I have noticed some drastic changes in some of the calculations/metrics that I get out of the Apple Health Apps since updating to the iOS15 Beta and WatchOS 8 Beta. Let me preface this by saying there have been no changes to my health or workouts, way I use the watch or phone since updating. For instance, my V02 max which has been in the 36-38 range for nearly two years suddenly dropped to 32-33 range since the update. The Blood Oxygen measurements as well have been much more erratic - I am usually in the 97-100% range, but since updating I have been anywhere from 90-100, and if I take two measurements right after each other I might get one @ 90 and one at 100. Thanks, Remy
Replies
0
Boosts
0
Views
687
Activity
Aug ’21