简体   繁体   English

iOS钥匙串:找不到值

[英]iOS keychain: value not found

I write something into the keychain on a device with an older version of my project; 我在项目版本较旧的设备上将一些东西写入钥匙串; then, I'd like to restore it with a new version - but I don't get any value back. 然后,我想用新版本还原它-但我没有任何价值。

I'm doing the exact same thing, I use the same provisioning profile, bundle identifier... What could be the reason for not getting a value back with my newer project version? 我正在做完全相同的事情,我使用相同的配置文件,捆绑包标识符...较新的项目版本无法收回价值的原因可能是什么? The query is the exact same one (using SFHFKeychainUtils): 该查询是完全相同的查询(使用SFHFKeychainUtils):

(NSMutableDictionary *) $17 = 0x00982fd0 {
    acct = "com.abc.def.ghi.jkl.1";
    class = genp;
    svce = "SOME-THING";
}

我认为SFHFKeychainUtils与codesign证书相关联,您应该再次检查代码签名的标识和设置配置文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM