Archive error: The specified item could not be found in the keychain.

I am getting headache for some weeks trying to archive a new version of the app.

The archive process finish with the error:

error: The specified item could not be found in the keychain.

I tried to build with manual and automaticlly manage signing, but the problem persists. When I try to execute the following sommand in the terminal, I have no identities.

security find-identity -p codesigning -v

result

0 valid identities found 

It says "error: The specified item could not be found in the keychain." But you haven't said if the certs are in your keychain, if not why haven't you added them as that's what the error says is the problem, if you have then you haven't posted a screenshot of your keychain contents/showing if they are valid or not.

Archive error: The specified item could not be found in the keychain.
 
 
Q