Skip to content

Better error message for XCode locator problems #4615

@davidstanke

Description

@davidstanke

Description of the problem / feature request:

Various situations on macOS can cause problems when Bazel attempts to interoperate with XCode. See: #4603, and similar behavior if the XCode license has not been accepted. The user gets an error that's not often helpful: Xcode version must be specified to use an Apple CROSSTOOL. Please replace this with a message that will help users take action. (Strawperson: Unable to run xcode-locator-bin -- another process may be interfering with execution)

Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

This is actually really hard to reproduce, but some users have reported that it happens on macOS High Sierra, if both Santa and VSCode are running when Bazel is called.

Versions

Experienced on Bazel 0.10 on macOS High Sierra. (Other versions possibly affected)

Metadata

Metadata

Assignees

Labels

P2We'll consider working on this in future. (Assignee optional)type: documentation (cleanup)z-team-AppleDeprecated. Send to rules_apple, or label team-Rules-CPP + platform:apple

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions