Selected device is not present in provisioning profile

Wiktor
Fri, 06 Aug 2021 08:24:22 +0000
Builds

Hi.

I decided to give Bitrise a try and configure it for my macOS app. I successfully managed to provide repository and configure it. I chose Development as Export method. Then I provided provisioning profile and certificate using Codesigndoc. However, whenever I try to build, it shows this error at xcode-test-mac@1 version 1.4.1 step:
error: Provisioning profile “Mac Team Provisioning Profile” doesn’t include the currently selected device “(device here)” (identifier (device identifier here)). (in target ‘app’ from project ‘app’)
I tried adding device using device identifier to provisioning profile from Developer Portal, but it shows that it is wrong. I searched this forum and saw some people have the same issue, but there were no solutions.

I think that the solution might be auto provisioning. I checked Bitrise documentation about it, but it is apparently only for iOS. Could someone tell me how I can configure auto provisioning or tell me any other solution and guide to this problem.

The environment is Xcode 12.5.x on macOS 11.4 (Big Sur).

Thank you in advance.

5 posts - 4 participants