Code Signing Error: No profiles for ‘x’ were found: Xcode couldn’t find any iOS App Development provisioning profiles matching ‘x’. Automatic signing is disabled and unable to generate a profile

Bitrise Build Issue Report template

Description of the issue

Xcode Archive & Export for iOS v2.7.1 fails with “Code Signing Error: No profiles for ‘x’ were found: Xcode couldn’t find any iOS App Development provisioning profiles matching ‘x’. Automatic signing is disabled and unable to generate a profile”.

This is even after using codesigndoc to export the necessary Provisioning Profiles and certificates. The presence of the certificates was validated by ScreenSharing on the Bitrise machine and checking the Keychain.

Opening XCode on the Bitrise machine shows all the profiles & signing certificates as recognized, but the Team is shown as "Unknown Name (TEAM_ID) in red text.

Environment:

Where did the issue happen?

Xcode 11.3.x, on macOS 10.14.6 (Mojave)

Which build Step causes the issue and which version of the step?

Xcode Archive & Export for iOS v2.7.1

Reproducibility

  • Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO
  • Does the issue happen sporadically, or every time? : EVERY TIME
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? : 20200115

Local reproduction

No, even after a fresh git clone

Build log

Hey there @jtaylor,

Could you please also enable support access (Enabling the Bitrise Support user for your app | Bitrise DevCenter) so we could check a few things in more detail? :slight_smile:

It turns out that our codesigndoc exported profile for enterprise distribution did not have the associated-domains entitlement, even though it had it on the Apple developer portal. So we forced the Apple portal to re-generate it. This was done by editing that profile, saving, editing again to remove the change made, saving, then downloading the new profile & replacing the old one on BitRise with the new one. You can close this topic.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.