iOS Auto Provisioning Step downloads the wrong profile

#1

In one of our apps, Bitrise seems to download the wrong provisioning profile for an app-store build:

Ensure Provisioning Profiles on Developer Portal
checking xcode managed development profile for target: APP (BUNDLE ID) with 5 services on developer portal
downloading development profile: iOS Team Provisioning Profile: BUNDLE ID
checking xcode managed app-store profile for target: APP (BUNDLE ID) with 5 services on developer portal
downloading app-store profile: iOS Team Ad Hoc Provisioning Profile: BUNDLE ID

Why is it using an Ad Hoc provisioning profile for the app-store build? Later on the archive step fails due to a missing profile.

Here is the build: https://www.bitrise.io/build/768813409b8f7231

2 Likes

#2

We have a similar issue, though it’s downloading the wrong platform (iOS vs tvOS) https://github.com/bitrise-steplib/steps-ios-auto-provision/issues/23

1 Like

#3

@matthias.buchetics we’re working on the fix, the PR is already available (https://github.com/bitrise-steplib/steps-ios-auto-provision/pull/24), should be in the next update/version :slight_smile:

0 Likes

#4

@yonas thanks for reporting, just replied on github, we’ll check & fix that too ASAP! :slight_smile:

0 Likes

#5

Hi all,
thanks for the reports!

We released a new version (1.0.2), which can distinguish between app-store and ad-hoc and ios and tvos profiles.

0 Likes

#6

@matthias.buchetics & @yonas can you please test the new version of the step and let us know how it goes?

0 Likes

#7

Hello @viktorbenei @godreikrisztian, I created https://github.com/bitrise-steplib/steps-ios-auto-provision/pull/100 which should solve this issue. Could you check it up?
BTW issue still occurs in v1.4.2

0 Likes

#8

Hey there @eduardo.miranda,

Thanks for being so awesome and contributing with this PR :wink:
We’ll take a look at it as soon as we can! :slight_smile:

0 Likes

#9

Hello @matthias.buchetics,

CC: @yonas

This issue should be resolved by now, please try the latest release if the issue still persists.

I will be closing this thread in a few days if no objections.

0 Likes