ExportArchive: "[APP_NAME].app" requires a provisioning profile


#1

Bitrise Build Issue Report template

Description of the issue

My app fails with the errors bellow. I do really tries everything i could find related to the similiar issues.
Nothing helps.

Build url --> https://app.bitrise.io/build/fff26002a5fc5737

Environment:

Where did the issue happen?

Bitrise.io --> Xcode 10.1.x

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

xcode-archive@2.4.16 (exit code: 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 using latest
  • When did the issue start? : Since the beginning

:x: error: exportArchive: “lit.app” requires a provisioning profile.

:x: Error Domain=IDEProvisioningErrorDomain Code=9 ““lit.app” requires a provisioning profile.” UserInfo={NSLocalizedDescription=“lit.app” requires a provisioning profile., NSLocalizedRecoverySuggestion=Add a profile to the “provisioningProfiles” dictionary in your Export Options property list.}


#2

Hi @maciej.kowalski,

Sorry to hear about the issue! Thanks for reporting it though, we are taking a deep look! Can you perhaps allow Support Access in the Settings of the app? (https://devcenter.bitrise.io/troubleshooting/enabling-bitrise-support-user/)


#3

Ok. I enabled the Bitrise Support.


#4

Hi @bitce.

Any ideas :frowning: ?

When i retrospectively think about this issue it may start when we introduced wildcard certificate.

However local archive works perfect with this new certificate and Xcode signs without any problems.

I generated certificate once again but it didn’t help.

This is the most recent build —> https://app.bitrise.io/build/ef21a85cda76fd8d


#5

@bitce I’ve tried literally everything. I’ve created custom ExportOptions.plist but didn’t help also.

This error makes no sense for me.


#6

Hi @maciej.kowalski!

The error indeed seems strange. Your case has been assigned to our Tooling team, there is a lot on their plate unfortunately but are trying to get back to you as soon as they can. Sorry for the inconvenience and thanks for your understanding and patience, just wanted to make sure you know that we are looking into this.