codesign wants access key "access"

I've seen a large variety of similar questions on the forum regarding access keys, but none of the suggested fixes have worked for this error.

While attempting the build on my iPhone, I get the error "codesign wants to access key "access" in your keychain. To allow this, enter the login keychain password.

However, entering the login password and clicking Allow or Always Allow isn't working, and the only way to close the window is to click Deny and fail the build. How should I solve this?

Replies

Which version Xcode on what macOS?


What iOS on which device?


Ever been able to build an app to it?


Using a paid Developer Program account or 'free provisioning'?