从钥匙串读取结果为errSecItemNotFound 25300 [英] Read from keychain results in errSecItemNotFound 25300

查看:169
本文介绍了从钥匙串读取结果为errSecItemNotFound 25300的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我存储用户名&使用钥匙串输入密码,有时当我尝试获取用户名的密码时,它告诉了我errSecItemNotFound.

I store username & password using keychain, sometimes when I tried to get the password of the username, it told me errSecItemNotFound.

我坚持认为密码始终存在于钥匙串中,为什么找不到密码?

I keep that the password is always existed in keychain, so why it is not found?

谢谢.

推荐答案

Tony:该错误仅是OSStatus错误-34018-客户端既没有应用程序标识符也没有钥匙串访问组权利.

Tony: that error is simply OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements.

这可能是由于使用非标准应用程序签名方法或您的权利遇到其他问题而导致的.除非您完全了解Xcode,否则请确保您只是在Xcode之外构建而不使用其他签名方法.

This could be happening as a result from using a nonstandard app signing method or some other problem with your entitlements. Make sure you're building simply out of Xcode and not using alternate signing methods unless you completely understand them.

这篇关于从钥匙串读取结果为errSecItemNotFound 25300的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆