Error trimming profiles

You have committed a profile and in user story but when you deploy, the deployment is failing with the error message "Error trimming profiles":

“Error trimming profiles/xxx.profile : Source '/tmp/fc5f4f7d2edb4699a044189861eb08f8/retrieve/profiles/xxx.profile' does not exist”.

There are several reasons why you could be receiving this error:

  1. You have profiles ignored in your .gitignore file.
  2. Committed profiles were marked as Retrieve Only.
  3. Profiles were excluded from the deployment selections in the Deployment record.

Please make sure that the profile is not ignored and is included among the list of selected components to be deployed.

How did we do?