Skip to content

xcrun popup after selecting a board or opening a sketch #1822

Open
@albmef

Description

@albmef

Describe the problem

I get an unexpected popup just after selecting a board:

The "xcrun" command requires the command line developer tools. Would you like to install the tools now?

Choose Install to download and install the command line developer tools now.

image

To reproduce

  1. Select Tools > Board > Arduino AVR Boards > Arduino Uno from the Arduino IDE menus.
    I have also reproduced it with ESP32 and ESP8266 boards selected.
  2. The popup will now appear. Click the "Cancel" button.
  3. Open an example (e.g., File > Examples > 01.Basics > Blink).
  4. The popup will now appear. Click the "Cancel" button.
  5. Select Sketch > Verify/Compile from the Arduino IDE menus.

🐛 The compilation passes without errors, so the popup is urging the user to install something that is not necessary.

Expected behavior

No popup for unnecessary installation of Xcode tools.

Arduino IDE version

2.0.4-nightly-20230119

Operating system

macOS

Operating system version

Ventura 13.1

Additional context

I won't install the bloated Xcode toolchain.

Additional Reports

Related

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    os: macosSpecific to macOS operating systemtopic: infrastructureRelated to project infrastructuretopic: language serverRelated to the Arduino Language Servertype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions