SciFi-HiFi Keychain problem - SecKeychainItemRef undeclared error
-
23-08-2019 - |
Question
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!
Solution
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
TARGET_ IPHONE_SIMULATORare disabled, and you should be fine.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow