All Collections
Help & Troubleshooting Guides
Deployment & CodeMagic
Error: Step 3 script `Fetch signing files` exited with status code 1. You already have a current Distribution certificate or a pending certificate request.
Error: Step 3 script `Fetch signing files` exited with status code 1. You already have a current Distribution certificate or a pending certificate request.

This error means there is an issue with access to user distribution certificates

David avatar
Written by David
Updated over a week ago

What does this error mean?

During deployment, Codemagic tried to create distribution certificates in your Apple Console. This failed as you have reached the maximum number of allowed certificates in the Apple Console.


Full error message

Build failed :|
Step 3 script `Fetch signing files` exited with status code 1

Returned 409: There is a problem with the request entity - You already have a current Distribution certificate or a pending certificate request.

How to resolve this issue?

You need to delete a few distribution certificates so that the build can go through.
โ€‹

Steps to delete:

  1. Open the Apple Developer Console in App Store Connect

  2. Select 'Keychain>Login' , then 'Category>My Certificates

  3. Locate and delete your developer, distribution. and server certificates (if applicable)

Note: these certificates are used for signing the application and will be created on-demand during the build.

Did this answer your question?