views:

433

answers:

1

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.

A: 

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

Guillaume
Brilliant. Thank you very much indeed. The files weren't included for my target.
happy pig