Error importing Development Certificate to keychain with error code 100013

OK so I run a free developer account & I was looking through my keychain & I saw that one of my development certificates had expired, so I deleted it thinking I could get a new and refreshed one if I just removed my account & re-added it back in. it managed to get a Certificate but it came with an error saying this

Installing a certificate in the keychain failed (Error Domain=DVTSecErrorDomain Code=100013 "UNIX[Permission denied]" UserInfo={NSLocalizedDescription=UNIX[Permission denied]})

& I have tried as much as I possibly could to add it to the keychain & now I am not sure what to do at this point.

any help is appreciated thanks.

Error 100013 is the Security framework version of EACCES, an error related to file system permissions. This suggests that the permissions on the files that back your keychain are borked. If you run Keychain Access, does it behave itself? For example, does File > New Password Item work as expected?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

OK eskimo, the "create password" works as expected but I believe it is something to do with Xcode not being granted access to it. When I use get info & scroll down to the permissions part, it said I have "custom access" instead of "you can read & write"

When I use get info

Get Info on what?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Error importing Development Certificate to keychain with error code 100013
 
 
Q