iOS Xcode Archive & Export failed No profiles for were found

ios
#1

Bitrise Build Issue Report template

Description of the issue

I’m trying to export a build, and I faced an issue one I added the Xcode Archive & Export addon to my workflow.

Environment:

We are using special entitlements, so automatic signing is not an option for us.

The error im getting:

error: No profiles for ‘…’ were found: Xcode couldn’t find any iOS App Development provisioning profiles matching ‘…’. Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.

I’ve verified and the requested profiles exist in my workflow and it is valid.

Also I enabled bitrise support user in the app settings, so you should be able to access my app.

Build log

Failed build URL:

Please help me to solve this issue,
Thanks, Ron

0 Likes

#2

In our case, the iOS pipeline was using the Fastlane matchfile to ensure the certs and profiles are loaded since the certs are also controlled by the end user entity.

In an earlier iteration, the certs and profiles needed to be loaded ahead of time so we used the Certs and installer step to do that.

0 Likes

#3

I’ve uploaded the profiles manually…
Maybe after the process will work i will think of improving it :slight_smile:

0 Likes

#4

Hi @ronf_medisafe! The error message in itself suggests, that while a development provisioning profile is present, it’s not THE development provisioning profile your project is looking for, possibly because it was exported with Xcode managed signing enabled.

We generally recommend opting for the automatic solution, because that can download and even generate profiles for you: https://devcenter.bitrise.io/code-signing/ios-code-signing/ios-auto-provisioning/

0 Likes

#5

Hi @bitce, we are not able to use auto provisioning since our app uses special entitlements.
i’ve also added AdHoc profiles. so what profiles it is looking for ?

0 Likes

#6

Can you elaborate why does the usage of entitlements lock you out of using automatic provisioning? I can’t say for sure, but I am saying I suspect it’s looking for that one specific Xcode managed profile your project was archived with originally, which doesn’t seem to be uploaded - none of the profiles are Xcode managed.

0 Likes

#7

I double checked and the requested profile is uploaded and has “green” status.
Maybe i have wrong configuration for the export module ?

0 Likes

#8

The green status means the website recognizes the files being provisioning profiles, but the website can not further check whether they are right for the project, that part happens within the build exclusively.

Can you elaborate why you believe special entitlements don’t work with any of the automatic solutions? Have you had unsuccessful attempts?

0 Likes