Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provisioning profile issue with macos-latest-internal image #10950

Open
2 of 15 tasks
gietal-msft opened this issue Nov 12, 2024 · 2 comments
Open
2 of 15 tasks

provisioning profile issue with macos-latest-internal image #10950

gietal-msft opened this issue Nov 12, 2024 · 2 comments

Comments

@gietal-msft
Copy link

gietal-msft commented Nov 12, 2024

Description

started seeing this error when upgrading our macOS xctest project pipeline to use macos-latest-internal pool:

.xcodeproj: error: Provisioning profile "" doesn't include the currently selected device "Mac-1731360120914.local" (identifier 0000FE00-C561D0E269705BEC). (in target '' from project '')

I see many similar issues previously, and the fix seems to manually register the UUID of the device to Microsoft Apple Developer Program.
#835 #7591 #7755

The question is what are the list of known fixed UUID of the device we need to register for this pool? so far I've seen these 2:
0000FE00-C561D0E269705BEC
0000FE00-E9458B3993D81AD8

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022

Image version and build link

macos-latest-internal
Image: macos-14-arm64
Version: 20241108.442

Is it regression?

yes, issue didnt exist on macos-13 pool

Expected behavior

Provisioning profile is handled by the runner/pool.

Actual behavior

seeing this error:

.xcodeproj: error: Provisioning profile "" doesn't include the currently selected device "Mac-1731360120914.local" (identifier 0000FE00-C561D0E269705BEC). (in target '' from project '')

Repro steps

Mac application, building xctest project on macos-latest-internal pool. interestingly building the app itself (not the xctest) is fine. only the xctest project shows this issue

@aartis17
Copy link
Contributor

Hi @gietal-msft We will look into the issue and keep you posted with updates.

@vaishalipawar1490
Copy link

Hi @gietal-msft
To retrieve the UUID in Azure DevOps, please note that UUIDs are not publicly available. However, you can dynamically retrieve the UUID during a build.
You may consider adding a step to your Azure DevOps pipeline to fetch and output the UUID of the macOS runner. This can be done using the system_profiler command, which will gather the necessary hardware details. By doing this, you'll be able to identify the UUID for the device in use during the build.
The UUID printed in the output will be the one you need to register. You can use the following command to retrieve the UUID:
system_profiler SPHardwareDataType | grep "Hardware UUID"

Hope this resolves issue ! Please free to reach out if any further questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants