Skip to content

PR Builds for macOS aarch64 failing due to xcode-select directory #2875

Closed
@wcarss

Description

@wcarss

Problem
Builds for macOS aarch64 are failing during the aarch64-specific items step, reporting the error xcode-select: error: invalid developer directory '/Applications/Xcode_12.2.app/Contents/Developer/'.

Steps

  1. Open a PR with cosmetic changes (e.g. Fix grammar in preinstall message. #2874)
  2. It fails in the way described.

Possible Solution(s)
My guess is that the latest version of xcode may have changed, and the specified dir doesn't exist anymore. Googling the error brings up stackoverflows of other people experiencing similar issues and suggestions to set the directory to /Library/Developer/CommandLineTools.

Notes

rustup version and show not relevant for this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions