Post not yet marked as solved
27
Views
Where can one locate statistical info on the most commonly used Apple Health kit data elements?
Post not yet marked as solved
59
Views
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!
Post not yet marked as solved
51
Views
Apple's "Research" app "Apple Hearing Study" presents a "California Law" form that requires a signature. The signature field is followed by what appears to be several "body items": a horizontal rule, a "form item", another rule, another "form item", another rule, then some additional text. I have attached a screen shot taken of this display.
Neither the WWDC20 "What's New In ResearchKit", where the ORKWebViewStep with signature was first presented, nor this year's "Build a research and care app, part 1" showed the two form elements following the signature view.
How can text fields be added after the signature view? Can this be done with out-of-the-boxResearchKit or is some Objective-C sub-classing required?
Thank You!
Post not yet marked as solved
83
Views
Hi All,
Have started writing an app using carekit and looking to create user customisable fields in the app, ie. Medication Name / Dose / Frequency etc
Before I get too invested, wondering what the easiest path would be to create an edit view for medications that the user can access, instead of having the hardcoded variables within carekit.
Any thoughts?
Post not yet marked as solved
217
Views
Hello,
I am new to this amazing AR Developing world.
wanted to know if I desire to develop an app for the AR Glasses that are about to be launched in the future -
should I use the ARkit?
Post not yet marked as solved
95
Views
Hi everyone,
I'm looking for help understanding the structure of the Smoothwalker HealthKit demo from WWDC2020. I'm an experienced coder but I'm fairly new to swift + HealthKit.
Long story short: I'm creating an app that will draw Health data from HealthKit (e.g. steps, distanceWalked) and push the data to an external server/ database. From there I'll be performing analytics to give my users recommendations about their activity.
The MobilityChartDataViewController page is a huge help - it demonstrates the use of an HKAnchoredObjectQuery - HKStatisticsCollectionQuery to generate only any updated statistics to push to the 'Network' for efficiency purposes.
This is exactly how I'd like my app to behave, but I need help working out what 'Network' is at present in this demo, and how I can replace it with my own external server.
I can't work out where the insane of the 'Network' class is being initialised, or really where the data is being pushed to at present. The demo gives console lines like:
Pushing 1 new samples to server!
Samples: ["HKQuantityTypeIdentifierStepCount": 1]
This sounds great, but where is it going? I imagine its being stored locally at present, but I'd love to hear how is best to move it external.
Many thanks for your help!
Post not yet marked as solved
251
Views
For a start up focusing on tackling bipolar disorder (BD) leveraging Apple Watch, we are looking for a developer with skills to create a dedicated interface for BD patients to provide answers in a lean manner using a daily mood brief survey (based on emoticons), to automatize ECG check and to populate results through an App on smartphone’s helper
Post not yet marked as solved
228
Views
The WWDC CareKit video shows SwiftUI views, but the git repository only includes UIKit.
What am I doing wrong?
Post not yet marked as solved
234
Views
Hi: I have a project that uses SPM to import CareKit as well as some other packages.
For some reason, although CareKit shows up as a dependency, Xcode builds it fine, it is not found via the import CareKit in my sources.
I have tried removing it and re-adding it, I have tried changing the order in which the packages were added to Xcode, never any change. (and yes, restarting Xcode, rebooting, updating Xcode, &c)
The issue applies both for app builds for device and simulator, as well as for SwiftUI Preview builds.
When I look in the build log, the relevant line for -fmodule-map-file= are missing. They are present for the other SPM modules.
See this (made readable) extract:
CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler (in target 'APPNAME' from project 'APPNAME')
		cd /Users/q1061050/Projects/MedTech/APPNAME/Source
		export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
		export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk
		/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc
-incremental
-module-name BUNDLE
-Onone
-enable-batch-mode
-enforce-exclusivity=checked @<derived_data>/Build/Intermediates.noindex/Previews/APPNAME/Intermediates.noindex/APPNAME.build/Development-Debug-iphonesimulator/APPNAME.build/Objects-normal/x86_64/BUNDLE.SwiftFileList
-DDEBUG
-Xcc
-fmodule-map-file=<derived_data>/Build/Intermediates.noindex/Previews/APPNAME/Intermediates.noindex/GeneratedModuleMaps/iphonesimulator/CrashReporter.modulemap
-Xcc
-fmodule-map-file=<derived_data>/Build/Intermediates.noindex/Previews/APPNAME/Intermediates.noindex/GeneratedModuleMaps/iphonesimulator/AppCenter.modulemap
-Xcc
-fmodule-map-file=<derived_data>/Build/Intermediates.noindex/Previews/APPNAME/Intermediates.noindex/GeneratedModuleMaps/iphonesimulator/AppCenterCrashes.modulemap
-sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.6.sdk
-target x86_64-apple-ios13.2-simulator
-g
-module-cache-path /Users/q1061050/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
-Xfrontend
<rest omitted>
However, I have created separate small "test" projects that import the packages just fine. But there is something in here that is interfering. So there must be something in the configuration of this project specifically.
Post not yet marked as solved
214
Views
how do a track a subjective mood symptom?
Post not yet marked as solved
184
Views
I've added the CareKit using Swift Package Manager - now my template app "Hello, World" gets a link error (below).
Error:
Swift package target 'CareKitStore' is linked as a static library by 'CareKitExample' and 'CareKit'. This will result in duplication of library code.
What is the magic incantation for including CareKit, CareKitUI in a simple Hello World SwiftUI App?
Xcode 12 beta.
Post not yet marked as solved
223
Views
What's new in CareKit
Is there a chance the example code in the talk is available on GitHub or somewhere?
Post not yet marked as solved
221
Views
Added https://github.com/carekit-apple/CareKit as a Swift Package to my project and tired to include CareKitFHIR library to my project target. I get these compile errors. Everything else works fine, once I remove CareKitFHIR library.
More details on the issue: https://github.com/carekit-apple/CareKit/issues/472