Skip to content

The "xcrun" command requires the command line developer tools #1956

Closed as not planned
@sgreensides

Description

@sgreensides

Describe the problem

Install Adruino IDE 2.XXXX on to a clean Apple Mac (problem is the same on both MacBooks and iMacs) and both pre and post Apple Silicon ie the M1 chip so is not firmware related. Launch and the user is greeted with a new dialogue box as shown
Screenshot 2023-03-13 at 19 47 06

To reproduce

Start with a clean Apple Mac machine.
Install Arduino IDE version 2.xxxx
Launch and you will be greeted with this extra popup dialogue box.
Clicking cancel every time ensures Compiles without errors.
BUT
Repeating will popup the dialogue box
Installing the whole of XCODE developer install makes the popup go away.

Expected behavior

No extra popup.

Arduino IDE version

nightly build 20230312

Operating system

macOS

Operating system version

Venture and Big Sur

Additional context

Log file:

stephengreensides@Stephens-MacBook-Pro-2 get_iplayer % /Applications/Arduino\ IDE.app/Contents/MacOS/Arduino\ IDE > ~/Desktop/IDE2launchLog.log
Using browser-only version of superagent in non-browser environment
2023-03-13T19:53:01.150Z root WARN Backend PluginLocalizationBackendContribution.initialize took longer than the expected maximum 50 milliseconds: 81.4 ms [Finished 2.319 s after backend start]
2023-03-13T19:53:01.212Z root WARN The local plugin referenced by local-dir:/Users/stephengreensides/.arduinoIDE/plugins does not exist.
2023-03-13T19:53:01.212Z root WARN The local plugin referenced by local-dir:/Users/stephengreensides/.arduinoIDE/extensions does not exist.
2023-03-13T19:53:01.213Z root WARN The local plugin referenced by local-dir:/Users/stephengreensides/.arduinoProIDE/plugins does not exist.
2023-03-13T19:53:07.601Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 1871.9 ms [Finished 6.099 s after frontend start]
2023-03-13T19:53:07.749Z root WARN Frontend keybindings.onStart took longer than the expected maximum 100 milliseconds: 132.1 ms [Finished 6.274 s after frontend start]
2023-03-13T19:53:07.914Z sketches-service WARN Warning! The request sketch path was different than the response sketch path from the CLI. This could be a potential bug. Request: </Users/stephengreensides/Library/CloudStorage/Dropbox/Arduino_Src/Sump_Management/Sump_Management.ino>, response: </Users/stephengreensides/Library/CloudStorage/Dropbox/Arduino_Src/Sump_Management>.
2023-03-13T19:53:08.385Z root WARN Frontend l.onStart took longer than the expected maximum 100 milliseconds: 485.5 ms [Finished 6.888 s after frontend start]
2023-03-13 19:53:10.668 Arduino IDE Helper (Renderer)[524:2665063] CoreText note: Client requested name ".NewYork-Regular", it will get TimesNewRomanPSMT rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2023-03-13 19:53:10.668 Arduino IDE Helper (Renderer)[524:2665063] CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug.
2023-03-13T19:53:14.474Z root WARN 'cpp' language is remapped from 'source.cpp.embedded.macro' to 'source.cpp' scope
2023-03-13T19:53:14.476Z root WARN a registered grammar configuration for 'cpp' language is overridden
2023-03-13T19:53:15.921Z root ERROR ---- !!!SLOW!!! DURATION: search took 1340.178 ms. Args: [{"query":"","type":"All","topic":"All"}] ----
2023-03-13T19:53:16.333Z root WARN Linked preference "workbench.colorCustomizations" not found. Source: "editor.bracketPairColorization.enabled"
2023-03-13T19:53:16.431Z sketches-service WARN Mismatching sketch file <Level_Crossing.ino> and sketch folder name <Level_Crossing copy>. Skipping
2023-03-13T19:53:16.432Z sketches-service WARN Mismatching sketch file <Sump_Management.ino> and sketch folder name <Sump_Management_V1>. Skipping
2023-03-13T19:53:16.432Z sketches-service WARN Mismatching sketch file <Sump_Management.ino> and sketch folder name <Sump_Management_V2>. Skipping
2023-03-13T19:53:16.432Z sketches-service WARN Mismatching sketch file <Sump_Management.ino> and sketch folder name <Sump_Management_V3>. Skipping
2023-03-13T19:53:16.808Z sketches-service WARN Mismatching sketch file <Level_Crossing.ino> and sketch folder name <Level_Crossing copy>. Skipping
2023-03-13T19:53:16.808Z sketches-service WARN Mismatching sketch file <Sump_Management.ino> and sketch folder name <Sump_Management_V1>. Skipping
2023-03-13T19:53:16.808Z sketches-service WARN Mismatching sketch file <Sump_Management.ino> and sketch folder name <Sump_Management_V2>. Skipping
2023-03-13T19:53:16.808Z sketches-service WARN Mismatching sketch file <Sump_Management.ino> and sketch folder name <Sump_Management_V3>. Skipping
2023-03-13T19:53:16.808Z sketches-service WARN Mismatching sketch file <Level_Crossing.ino> and sketch folder name <Level_Crossing copy>. Skipping
2023-03-13T19:53:16.808Z sketches-service WARN Mismatching sketch file <Sump_Management.ino> and sketch folder name <Sump_Management_V1>. Skipping
2023-03-13T19:53:16.809Z sketches-service WARN Mismatching sketch file <Sump_Management.ino> and sketch folder name <Sump_Management_V2>. Skipping
2023-03-13T19:53:16.809Z sketches-service WARN Mismatching sketch file <Sump_Management.ino> and sketch folder name <Sump_Management_V3>. Skipping
2023-03-13T19:53:17.540Z root ERROR ---- !!!SLOW!!! DURATION: search took 925.162 ms. Args: [{"type":"Updatable"}] ----
===============

Launching from terminal DOES NOT create the extra popup dialogue box

==

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

Labels

os: macosSpecific to macOS operating systemtype: 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