{"issue":{"created_at":"2011-12-08T22:44:08Z","state":"open","updated_at":"2011-12-09T06:54:49Z","comments":2,"user":{"gravatar_id":"97ca2bd0d8cd6fea311b55b155aa65fb","id":342355,"url":"https://api.github.com/users/pkamb","avatar_url":"https://secure.gravatar.com/avatar/97ca2bd0d8cd6fea311b55b155aa65fb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"pkamb"},"body":"Importing the given SSKeychain.h and SSKeychain.m files into an OS X project gives the following errors:\r\n\r\n`Use of undeclared identifier kSecReturnAttributes`\r\n`Use of undeclared identifier kSecMatchLimitAll`\r\n\r\nThe readme says that SSKeychain will work for both OS X and iOS, is that true?\r\n\r\nAre there any additional dependencies to resolve the errors listed above?\r\n\r\nI have already added `Security.framework` to my target.","assignee":null,"id":2495462,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":4,"title":"Error in Mac OS X: Use of undeclared identifiers `kSecReturnAttributes` and `kSecMatchLimitAll`","closed_at":null,"html_url":"https://github.com/samsoffes/sskeychain/issues/4","url":"https://api.github.com/repos/samsoffes/sskeychain/issues/4","milestone":null},"action":"created","comment":{"created_at":"2011-12-09T06:54:49Z","updated_at":"2011-12-09T06:54:49Z","user":{"gravatar_id":"97ca2bd0d8cd6fea311b55b155aa65fb","id":342355,"url":"https://api.github.com/users/pkamb","avatar_url":"https://secure.gravatar.com/avatar/97ca2bd0d8cd6fea311b55b155aa65fb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"pkamb"},"body":"Lines such as `[dictionary setObject:(id)kSecClassGenericPassword forKey:(id)kSecClass];` are also giving errors. Digging a little deeper I find Apple docs saying:\r\n\r\n*\"IMPORTANT: on Mac OS X 10.6, only items of class kSecClassInternetPassword are currently supported.\"*\r\n\r\nHas anyone gotten this working on Snow Leopard, or OS X in general?","id":3076074,"url":"https://api.github.com/repos/samsoffes/sskeychain/issues/comments/3076074"}}