ResearchKit stepResults startTime和endTime

时间:2019-01-07 21:25:34

标签: ios swift xcode researchkit

在最新版本的Swift和Xcode中,我有以下代码

  let taskResult = taskViewController.result
    let stepResult = taskResult.stepResult(forStepIdentifier: ORKStroopStepIdentifier)
    if let result = stepResult?.firstResult as? ORKStroopResult
    {
        print(result.startTime)
        print(result.endTime)
    }

程序无法构建,并显示以下错误:

:-1: linker command failed with exit code 1 (use -v to see invocation)

任何帮助将不胜感激

0 个答案:

没有答案