Skip to content

[9.0] unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly #5850

@jozkee

Description

@jozkee

Build

https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1062515&view=logs&j=a9eab304-9375-5df6-9f7c-f505bd759fef

❌clang(0,0): error : unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly!
❌clang(0,0): error : You can set the path to the Xcode folder using /usr/bin/xcode-select -switch
❌.packages/microsoft.dotnet.ilcompiler/9.0.0-rtm.24511.16/build/Microsoft.NETCore.Native.Unix.targets(266,24): error MSB4086: A numeric comparison was attempted on "$(_XcodeVersion)" that evaluates to "" instead of a number, in condition "'$(_XcodeVersion)' >= '15'".

Build leg reported

Build / osx-arm64 Release NativeAOT_Libraries / Build product

Pull Request

dotnet/runtime#115537

Known issue core information

Fill out the known issue JSON section by following the step by step documentation on how to create a known issue

 {
    "ErrorMessage" : "unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly",
    "BuildRetry": false,
    "ErrorPattern": "",
    "ExcludeConsoleLog": false
 }

@dotnet/dnceng

Release Note Category

  • Feature changes/additions
  • Bug fixes
  • Internal Infrastructure Improvements

Release Note Description

Additional information about the issue reported

No response

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1062515
Error message validated: [unable to locate xcodebuild, please make sure the path to the Xcode folder is set correctly]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 6/9/2025 8:58:14 PM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions