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

Hi, I've met the same problem. Did you figure it out?