1. 程式人生 > >iOS開發—— Couldn't add the Keychain Item

iOS開發—— Couldn't add the Keychain Item

exce enc term 部分 internal nali con 一個 tro

  報錯:*** Terminating app due to uncaught exception ‘NSInternalInconsistencyException‘, reason: ‘Couldn‘t add the Keychain Item.‘

  解決方案:Xcode8增加了一個keychain的許可設置,只要在工程名->TARGETS->Capabilities裏將Keychain打開就可以了,大部分更新到Xcode 8後無法使用的問題都是因為這個.

iOS開發—— Couldn't add the Keychain Item