Question

I'm trying to use SHFHKeychainUtils in my project, but I keep getting the following error when I build:

".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

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

Any help would be greatly appreciated, thanks.

Was it helpful?

Solution

It's because you haven't added the files SFHFKeychainUtils (.h and .m) to your project, or that they aren't included for your target (check this by making sure the check-box at the right of the line for this file is checked).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top