【发布时间】:2014-03-10 20:35:06
【问题描述】:
我最近安装了 iOS 7.1 模拟器和新的 Xcode 5.1。我的应用程序在 iOS 7 中运行良好。我正在使用 Apple 的 KeychainItemWrapper 类。 更新后它崩溃并显示以下消息:
*** Assertion failure in -[KeychainItemWrapper writeToKeychain]
具体在第 299 行:
NSAssert( result == noErr, @"Couldn't update the Keychain Item." );
听到错误 -25300 (errSecItemNotFound)
我在我的权利文件中指定了钥匙串访问组。此错误仅发生在 iOS 7.1 模拟器中,不会在真正的 iPhone 或 7.0 模拟器中发生。
有谁知道 Keychain 在 7.1 中发生了什么变化?
【问题讨论】:
标签: ios keychain keychainitemwrapper