Im using timed walk from researchkit test in an app that uses carekit as well. However, I have no idea why I am getting this error. Any help would be greatly appreciated. This is what I have so far. (error states Use of unresolved identifier)
import ResearchKit
public var timedWalk: ORKOrderedTask
{return ORKOrderedTask.timedWalk(withIdentifier: "Timed Walk",intendedUseDescription: "Assessment measures balance", distanceInMeters: 3, timeLimit: 13, includeAssistiveDeviceForm: true, options: .excludeConclusion)
//Create a question.
let title = "Estimate your fall Risk"
let text = "This assessment measure how fast you walk to estimate your fall risk. Start from a sitting position stand walk 10 feet turn around and walk back to sitting position"
***let questionStep = ORKQuestionStep(identifier: "Timed Get up and Go", title: title, text: text, answer: answerFormat)***
questionStep.isOptional = false
//Create an ordered task with a single question
return ORKOrderedTask(identifier: "Timed Walk", steps: [questionStep])