skip to Main Content

We’ve just upgraded our Azure Pipelines XCode version from 15.4 to 16.0. We are using the Microsoft Hosted Agent, macOS-14. We have a Pipeline task doing the following:

sudo xcode-select -switch /Applications/Xcode_16.0.app
xcode-select -print-path
xcodebuild -version

However, when running the Pipeline we get the error:

xcrun: error: unable to find utility "actool", not a developer tool or in PATH

Was working great with 15.4 but we upgraded because in 15.4 we got MAUI compilation errors such as:

error MT4162: The type 'UIKit.NSAdaptiveImageGlyph' (used as a parameter in UIKit.UITextField.InsertAdaptiveImageGlyph) is not available in iOS 17.5 (it was introduced in iOS 18.0). Please build with a newer iOS SDK (usually done by using the most recent version of Xcode)

Any help what could be wrong?

2

Answers


  1. Chosen as BEST ANSWER

    Using

    sudo xcode-select -switch /Applications/Xcode_16.app/Contents/Developer
    

    And reverting to SDK 8.0.402 version in workload install worked


  2. sudo xcode-select -switch /Applications/Xcode_16.1_beta_2.app
    worked for me
    https://github.com/actions/runner-images/issues/10629#issuecomment-2366919103

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search