Search code examples
researchkit

ResearchKit error: 'Could not add Keychain item' for ORKPasscodeStep after converted to Swift 3


Apple ResearchKit project: after updated to XCode 8 and converted to Swift 3, getting the error message 'Could not add Keychain item.' for ORKPasscodeStep. Is it a framework bug? Thanks in advance!


Solution

  • Try enabling the Keychain Sharing capability for your app. See here for more info.