iOS开发—— Couldn't add the Keychain Item

  报错:*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Couldn't add the Keychain Item.'

  解决方案:Xcode8增加了一个keychain的许可设置,只要在工程名->TARGETS->Capabilities里将Keychain打开就可以了,大部分更新到Xcode 8后无法使用的问题都是因为这个.

posted on 2017-07-31 15:03  乱七八糟21号  阅读(603)  评论(0编辑  收藏  举报

导航