Add human friendly error for errSecMissingEntitlement

This commit is contained in:
Joel Arvidsson 2018-02-25 23:42:53 +01:00
parent 9c734ac9f9
commit bb2adaedad
1 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,9 @@ NSString *messageForError(NSError *error)
case errSecAuthFailed:
return @"The user name or passphrase you entered is not correct.";
case errSecMissingEntitlement:
return @"Internal error when a required entitlement isn't present.";
default:
return error.localizedDescription;
}