iphone – 帮助使用SFHFKeychainUtils

前端之家收集整理的这篇文章主要介绍了iphone – 帮助使用SFHFKeychainUtils前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在尝试在我的项目中使用SHFHKeychainUtils,但是我在构建时遇到以下错误

“.objc_class_name_SFHFKeychainUtils”,referenced from:
literal-pointer@__OBJC@__cls_refs@SFHFKeychainUtils in ResultsViewController.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

我通过Target>添加了Security.framework.获取信息>一般

非常感谢任何帮助,谢谢.

解决方法

这是因为您没有将SFHFKeychainUtils(.h和.m)文件添加到您的项目中,或者它们不包含在您的目标中(通过确保此文件的行右侧的复选框来检查这一点)检查).

猜你在找的Xcode相关文章