XCode Provisioning Profile not recognized

I added an extension to my project and while I can get fastlane to produce an ipa locally, CircleCI seems to be failing with this error:

error: No profile for team ‘XXXXXXXXXX’ matching ‘tvos qa top shelf dist’ found: Xcode couldn’t find any provisioning profiles matching ‘XXXXXXXXXX/tvos qa top shelf dist’. Install the profile (by dragging and dropping it onto Xcode’s dock item) or select a different one in the General tab of the target editor. (in target ‘TopShelfQA’)

I’ve added the provisioning profile to CircleCI’s code-signing list and it appears as eligible in XCode… I’m stumped, please help.

Can you share which documentation you are following to set this up? There have been some major differences between 1.0 and 2.0, I want to make sure you are following the correct steps.

Hi there.

Can you make sure you are adding the following to your config.yml?

    environment:
      FL_OUTPUT_DIR: output

This will ensure the Fastlane and xcode output and logs are saved as artifacts and makes it much easier to troubleshoot. The error you are getting is usually due to a name mismatch.