SciFi-HiFi 钥匙串问题 - SecKeychainItemRef 未声明错误
我正在尝试使用此类:
http://log.scifihifi .com/post/55837387/simple-iphone-keychain-code
将数据保存到 iPhone 上的钥匙串。 我已将标头和 .m 文件包含在我的应用程序中,并包含安全框架,但是我仍然遇到这些未声明的错误。
我似乎找不到任何教程或帮助文件来在项目中设置此类,所以我相信这并不那么困难。 只是给我带来麻烦。
我正在运行 3.0 sdk,尽管我认为这不会有太大影响。
提前干杯!
I'm trying to use this class:
http://log.scifihifi.com/post/55837387/simple-iphone-keychain-code
to save data to the keychain on the iPhone. I've included the header and the .m file in my application and included the security framework, however I'm still getting these undeclared errors.
I can't seem to find any tutorials or help file for setting up this class within a project, so I'm led to believe that it's not that difficult. Just causing me problems.
I'm running the 3.0 sdk, though I don't think that will affect things much.
Cheers in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我相信完整的 iPhone 钥匙串 API 现在可以在模拟器中使用(从 3.0 开始)...只需确保任何引用的 #ifdefs
are disabled, and you should be fine.
I believe the full iPhone Keychain API is now available in the simulator (as of 3.0)... just make sure any #ifdefs that refer to
are disabled, and you should be fine.