Open
Description
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.
To reproduce
- Select Tools > Board > Arduino AVR Boards > Arduino Uno from the Arduino IDE menus.
ⓘ I have also reproduced it with ESP32 and ESP8266 boards selected. - The popup will now appear. Click the "Cancel" button.
- Open an example (e.g., File > Examples > 01.Basics > Blink).
- The popup will now appear. Click the "Cancel" button.
- 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
- The "xcrun" command requires the command line developer tools #1956
- xcrun popup after selecting a board or opening a sketch #1822 (comment)
- xcrun popup after selecting a board or opening a sketch #1822 (comment)
- xcrun popup after selecting a board or opening a sketch #1822 (comment)
- xcrun popup after selecting a board or opening a sketch #1822 (comment)
- xcrun popup after selecting a board or opening a sketch #1822 (comment)
- https://forum.arduino.cc/t/xcrun-command-popup/1042971/1
- https://forum.arduino.cc/t/xcrun-command-popup/1042971/15
- https://forum.arduino.cc/t/xcrun-command-popup/1042971/16
- https://forum.arduino.cc/t/xcrun-command-popup/1042971/17
- https://forum.arduino.cc/t/xcrun-command-popup/1042971/18
- https://forum.arduino.cc/t/xcrun-command-popup/1042971/19
- https://forum.arduino.cc/t/xcrun-command-popup/1042971/22
- https://forum.arduino.cc/t/ide-asking-for-xcrun-download/1157513
- https://forum.arduino.cc/t/esp32-cam-on-mac-ide-2-3-2-gives-xcode-error/1289981
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