Help Using SFHFKeychainUtils

I am trying to use SHFHKeychainUtils in my project, but when I create it, I still get the following error:

". objc_class_name_SFHFKeychainUtils" referenced: literal-pointer @__ OBJC @__ cls_refs @SFHFKeychainUtils in ResultsViewController.o ld: character not found collect2: ld returned 1 exit status

I added Security.framework via Target> Get Info> General

Any help would be greatly appreciated, thanks.

+4
source share
1 answer

This is because you did not add the SFHFKeychainUtils files (.h and .m) to your project or that they are not included for your purpose (check this by making sure the checkbox is to the right of the line for this file).

+3
source

Source: https://habr.com/ru/post/1302389/


All Articles