SecItemAdd总是在iOS 10模拟器中的Xcode 8中返回错误-34018 [英] SecItemAdd always returns error -34018 in Xcode 8 in iOS 10 simulator
本文介绍了SecItemAdd总是在iOS 10模拟器中的Xcode 8中返回错误-34018的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
更新:此问题已在Xcode 8.2中修复。 Keychain在模拟器中工作而不启用钥匙串共享。
Update: This issue has been fixed in Xcode 8.2. Keychain works in the simulator without enabling keychain sharing.
为什么我总是在调用时收到错误-34018 SecItemAdd
Xcode 8 / iOS 10模拟器中的函数 ?
Why am I always receiving error -34018 when calling SecItemAdd
function in Xcode 8 / iOS 10 simulator?
在Xcode 8中创建一个新的单页iOS应用程序项目。
在 viewDidLoad
中运行以下代码(或打开这个 Xcode项目。)
Create a new Single page iOS app project in Xcode 8.
Run the following code in viewDidLoad
(or open this Xcode project).
这篇关于SecItemAdd总是在iOS 10模拟器中的Xcode 8中返回错误-34018的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文