Changed deployment target to 10.7 and added better error handling to keychain code.
Changed deployment target back to 10.8 because one of our dependencies (MailCore2) is not compatible and caused the build to fail.