Skip to content

macOS 20250331.1175 fails to run mdls #11921

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

Closed
2 of 15 tasks
NachoSoto opened this issue Apr 1, 2025 · 4 comments
Closed
2 of 15 tasks

macOS 20250331.1175 fails to run mdls #11921

NachoSoto opened this issue Apr 1, 2025 · 4 comments

Comments

@NachoSoto
Copy link

Description

We use https://github.com/mxcl/xcodebuild for Xcode support, which uses mdls and mdfind to find Xcode versions.

I opened mxcl/xcodebuild#124 to report this there too: mdfind kMDItemCFBundleIdentifier = com.apple.dt.Xcode and mdls -raw -name kMDItemVersion /Applications/Xcode_16.2.app both fail on the latest image, breaking that action completely.

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 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

20250331.1175

Is it regression?

Yes, 20250124.610 was working

Expected behavior

mdfind and mdls work

Actual behavior

Both commands fail.

Repro steps

Use https://github.com/mxcl/xcodebuild and run:

uses: mxcl/xcodebuild
name: "Select Xcode"
with:
    xcode: ~16.2
     action: none # This finds and selects Xcode
@aartis17
Copy link
Contributor

aartis17 commented Apr 1, 2025

Hi @NachoSoto We will look into the issue and keep you posted on updates. Thanks.

@aartis17
Copy link
Contributor

aartis17 commented Apr 2, 2025

Hi @NachoSoto ,

Can you please try using https://github.com/maxim-lobanov/setup-xcode , if you are unable to use it directly, simply try below:

jobs:
  build:
    runs-on: macos-15
    steps:
    - uses: maxim-lobanov/setup-xcode@v1
      name: "Select Xcode"
      with:
        xcode-version: ~16.2

Output:

Image

Please do let me know if this works for you. Thank you!

@aartis17
Copy link
Contributor

aartis17 commented Apr 8, 2025

Heads up !
New runners deployed for macOS 15 ARM 64 - 20250331.1175.
I could see both https://github.com/maxim-lobanov/setup-xcode , https://github.com/mxcl/xcodebuild working fine on the current image. Please see below snips:
Output:

Image Image Image

@NachoSoto, Could you please check and do let us know if issue is resolved? Thanks.

@aartis17
Copy link
Contributor

aartis17 commented Apr 15, 2025

Hi @NachoSoto ,
We are closing this issue for now since there has been no response from your end. Please feel free to open a new issue if you encounter any related problems. Thank you

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