Build a research and care app, part 1: Setup onboarding

RSS for tag

Discuss the WWDC21 session Build a research and care app, part 1: Setup onboarding.

Posts under wwdc21-10068 tag

4 Posts

Post

Replies

Boosts

Views

Activity

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
2.0k
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.8k
Jun ’23
Unable to build Recover-App
Hi everybody, thanks a lot for the pretty good introduction to ResearchKit and CareKit on wwdc21. Unfortunately I cannot build the sample Code an a new MBA (M1 processor), XCode 12.4, macOS 11.4 Several swift libraries cannot be found during the build-process: ld: warning: Could not find or use auto-linked library 'swiftSwiftOnoneSupport' .... ld: warning: Could not find or use auto-linked library 'swiftUIKit' ld: warning: Could not find or use auto-linked library 'swiftContacts' The ResearchKit itself cannot be build either. On an older iMac, XCode 12.4, macOS 10.15.7 everything works fine. I compared the XCode settings without finding any differences. Any help is appreciated. Many thanks in advance
1
0
841
Jul ’22
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
2.0k
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.8k
Activity
Jun ’23
Unable to build Recover-App
Hi everybody, thanks a lot for the pretty good introduction to ResearchKit and CareKit on wwdc21. Unfortunately I cannot build the sample Code an a new MBA (M1 processor), XCode 12.4, macOS 11.4 Several swift libraries cannot be found during the build-process: ld: warning: Could not find or use auto-linked library 'swiftSwiftOnoneSupport' .... ld: warning: Could not find or use auto-linked library 'swiftUIKit' ld: warning: Could not find or use auto-linked library 'swiftContacts' The ResearchKit itself cannot be build either. On an older iMac, XCode 12.4, macOS 10.15.7 everything works fine. I compared the XCode settings without finding any differences. Any help is appreciated. Many thanks in advance
Replies
1
Boosts
0
Views
841
Activity
Jul ’22