One Mac sees my Arduinos, the other doesn't

I have Arduino IDE v2.0.3 installed on two Intel MacBook Pro's. One is from 2015, is running macOS Catalina, and has USB-A ports. The other is from 2018, is running macOS Ventura, and has USB-C ports.

The 2015 Catalina Mac sees my Arduinos when connected; everything is working fine.

The 2018 Ventura Mac doesn't see the Arduinos. Not only do they not appear in Arduino IDE, but I've also used macOS's Terminal app to check the /dev folder. No device name is being created when Arduinos are connected.

The USB-C cable seems fine, as it works well with other devices plugged into the 2018 Ventura Mac.

Is this a driver problem? Any suggestions on next steps?

I do not have a specific answer, but a search showed this happens:

Ventura Mac doesn't see the Arduinos "serial" port - Search (bing.com)

Perhaps a quick check of the results will be helpful.

it is likely a driver or authorisation problem if you don't have FTDI arduinos (like CH340 based)

Thanks for the comments. I have several Arduinos, but the one I'm most interested in at this time is the Zero. Is there somewhere I can learn what type of usb-serial it uses? I installed an upgraded FTDI driver but this didn't resolve the problem.

Is it an official arduino zero? Arduino Zero โ€” Arduino Official Store

It has two native USB ports so no FTDI driver

But in Ventura you need to bless stuff getting connected to USB I believe (How to manage Thunderbolt & USB security in macOS Ventura | AppleInsider)

Thanks, good to know. Apparently it only pertains to Apple Silicon Macs. Mine is Intel, and the option to adjust this is not available in Settings.

I've having issues with both official Arduinos and other microcontrollers programmed with the Arduino IDE. Seems to be a general problem with macOS recognizing attached devices. I'll try taking it up with Apple Support.

OK - would be good to share back if the support gives you guidance

Will do.

I'm also on MacOS Ventura 13.1 on Apple Silicon and Arduino IDE 2.0.3 does not list any ports.

Hi @anon89758654. Please try this procedure to troubleshoot the problem:


:exclamation: NOTE: These instructions will not solve the problem. They are only intended to gather more information which might provide a clue that eventually leads to a solution.


  1. Unplug the USB cable of your Arduino board from your computer if it is currently connected.
  2. Click the Apple logo on the left side of the menu bar at the top of the screen ("Apple menu").
  3. Select "System Settings..." from the menu.
  4. A "System Settings" window will open. Click "General" in the menu on the left side of the window.
    โ“˜ You may need to scroll the menu down to see "General".
  5. Click "About" on the panel at the right side of the "System Settings" window.
  6. The "About" panel will open. Click the "System Report..." button at the bottom of the panel.
  7. The "System Information" window will now open. Select Hardware > USB from the tree on the left side of the window.
  8. Take note of the contents of the "USB Device Tree" panel of the "System Information" window.
  9. Plug the USB cable of your Arduino board into your computer.
  10. Select File > Refresh Information from the menu bar.

Do you see any new device appear in the the the "USB Device Tree" panel of the "System Information" window after doing the last step?

Yes, the new info is:

USB JTAG/serial debug unit:

  Product ID:	0x1001
  Vendor ID:	0x303a
  Version:	1.01
  Serial Number:	34:85:18:25:BC:D8
  Speed:	Up to 12 Mb/s
  Manufacturer:	Espressif
  Location ID:	0x00100000 / 1
  Current Available (mA):	500
  Current Required (mA):	500
  Extra Operating Current (mA):	0

I've also filed a bug at: No ports reported on macos ventura 13.1 apple silicon arduino 2.0.3 ยท Issue #11855 ยท arduino/Arduino ยท GitHub.

OK, so it seems the board is recognized at the system level, but not by Arduino IDE. The task now is to determine exactly where in the chain between the system in Arduino IDE the problem is occurring.

As the next step in the investigation, I'm going to ask you to run Arduino IDE from the command line, then share the output.

Please do this:

  1. Open your Applications folder in Finder.
  2. Open the Utilities folder.
  3. Double-click on "Terminal".
  4. Type the following command in the Terminal window:
    "/Applications/Arduino IDE.app/Contents/MacOS/Arduino IDE"
    
  5. Press Enter
  6. Wait for Arduino IDE to finish starting.
  7. Switch back to the Terminal window.
  8. Press โŒ˜+A.
    This will select all the text in the Terminal window.
  9. Press โŒ˜+C.
    This will copy the selected text to the clipboard.
  10. Open a forum reply here by clicking the Reply button.
  11. Click the </> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the output is correctly formatted.
    Code block
  12. Press โŒ˜+V.
    This will paste the output into the code block.
  13. Move the cursor outside of the code block markup before you add any additional text to your reply.
  14. Click the Reply button to post the output.

Please let me know if you have any questions or problems while following those instructions.

โžœ  ~ /Applications/Arduino\ IDE.app/Contents/MacOS/Arduino\ IDE
Arduino IDE 2.0.3
Starting backend process. PID: 22448
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///Users/nick/.theia'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-01-15T01:42:20.962Z root INFO Backend Object.initialize: 1.9 ms [Finished 0.312 s after backend start]
2023-01-15T01:42:20.962Z root INFO Backend Object.configure: 1.5 ms [Finished 0.312 s after backend start]
2023-01-15T01:42:20.962Z root INFO Backend MessagingContribution.onStart: 0.7 ms [Finished 0.312 s after backend start]
2023-01-15T01:42:20.963Z root INFO Backend OSBackendApplicationContribution.configure: 0.2 ms [Finished 0.327 s after backend start]
2023-01-15T01:42:20.963Z root INFO Backend DefaultWorkspaceServer.onStart: 0.1 ms [Finished 0.327 s after backend start]
2023-01-15T01:42:20.963Z root INFO Backend PluginLocalizationBackendContribution.configure: 0.1 ms [Finished 0.327 s after backend start]
2023-01-15T01:42:20.964Z root INFO Backend PluginLocalizationBackendContribution.initialize: 15.2 ms [Finished 0.327 s after backend start]
2023-01-15T01:42:20.964Z root INFO Backend TaskBackendApplicationContribution.onStart: 0.1 ms [Finished 0.327 s after backend start]
2023-01-15T01:42:20.964Z root INFO Backend ElectronTokenBackendContribution.configure: 0.4 ms [Finished 0.328 s after backend start]
2023-01-15T01:42:20.964Z root INFO Backend PluginDeployerContribution.initialize: 0.2 ms [Finished 0.328 s after backend start]
2023-01-15T01:42:20.965Z root INFO Backend ConfigServiceImpl.onStart: 0.4 ms [Finished 0.328 s after backend start]
2023-01-15T01:42:20.965Z root INFO Backend WebviewBackendSecurityWarnings.initialize: 0.2 ms [Finished 0.328 s after backend start]
2023-01-15T01:42:20.965Z root INFO Backend ArduinoDaemonImpl.onStart: 0.5 ms [Finished 0.329 s after backend start]
2023-01-15T01:42:20.965Z root INFO Backend NodeFileUploadService.configure: 0.8 ms [Finished 0.329 s after backend start]
2023-01-15T01:42:20.965Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/build/arduino-cli...
2023-01-15T01:42:20.965Z discovery-log INFO start
2023-01-15T01:42:20.965Z discovery-log INFO start new deferred
2023-01-15T01:42:20.965Z root INFO Backend HostedPluginLocalizationService.initialize: 0.2 ms [Finished 0.329 s after backend start]
2023-01-15T01:42:20.965Z root INFO Backend BoardDiscovery.onStart: 0.4 ms [Finished 0.329 s after backend start]
2023-01-15T01:42:20.965Z root INFO Backend FileDownloadEndpoint.configure: 0.3 ms [Finished 0.329 s after backend start]
2023-01-15T01:42:20.966Z root INFO Backend AuthenticationServiceImpl.onStart: 0.2 ms [Finished 0.330 s after backend start]
2023-01-15T01:42:20.966Z root INFO Backend PluginApiContribution.configure: 0.2 ms [Finished 0.330 s after backend start]
2023-01-15T01:42:20.966Z root INFO Backend HostedPluginReader.configure: 0.1 ms [Finished 0.330 s after backend start]
2023-01-15T01:42:20.966Z root INFO Backend HostedPluginReader.configure: 0.1 ms [Finished 0.330 s after backend start]
2023-01-15T01:42:20.966Z root INFO Backend PlotterBackendContribution.configure: 0.2 ms [Finished 0.331 s after backend start]
2023-01-15T01:42:20.967Z root INFO Theia app listening on http://localhost:56362.
2023-01-15T01:42:20.967Z root INFO Finished starting backend application: 1.5 ms [Finished 0.332 s after backend start]
2023-01-15T01:42:20.967Z root WARN The local plugin referenced by local-dir:/Users/nick/.arduinoIDE/plugins does not exist.
2023-01-15T01:42:20.968Z root WARN The local plugin referenced by local-dir:/Users/nick/.arduinoIDE/extensions does not exist.
2023-01-15T01:42:20.968Z root WARN The local plugin referenced by local-dir:/Users/nick/.arduinoProIDE/plugins does not exist.
2023-01-15T01:42:20.973Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-15T01:42:20.973Z root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@1.5.1" with engines:
2023-01-15T01:42:20.973Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-15T01:42:20.973Z root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.5" with engines:
2023-01-15T01:42:20.973Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-15T01:42:20.973Z root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
2023-01-15T01:42:20.973Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-15T01:42:20.973Z root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
2023-01-15T01:42:20.973Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-15T01:42:20.973Z root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
2023-01-15T01:42:20.973Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-15T01:42:20.973Z root INFO Resolved "vscode-language-pack-bg" to a VS Code extension "vscode-language-pack-bg@1.48.3" with engines:
2023-01-15T01:42:20.973Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-15T01:42:20.973Z root INFO Resolved "vscode-language-pack-cs" to a VS Code extension "vscode-language-pack-cs@1.53.2" with engines:
2023-01-15T01:42:20.973Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-15T01:42:20.973Z root INFO Resolved "vscode-language-pack-de" to a VS Code extension "vscode-language-pack-de@1.53.2" with engines:
2023-01-15T01:42:20.973Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-15T01:42:20.973Z root INFO Resolved "vscode-language-pack-es" to a VS Code extension "vscode-language-pack-es@1.53.2" with engines:
2023-01-15T01:42:20.973Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-15T01:42:20.973Z root INFO Resolved "vscode-language-pack-fr" to a VS Code extension "vscode-language-pack-fr@1.53.2" with engines:
2023-01-15T01:42:20.973Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-15T01:42:20.973Z root INFO Resolved "vscode-language-pack-hu" to a VS Code extension "vscode-language-pack-hu@1.48.3" with engines:
2023-01-15T01:42:20.973Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-15T01:42:20.973Z root INFO Resolved "vscode-language-pack-it" to a VS Code extension "vscode-language-pack-it@1.53.2" with engines:
2023-01-15T01:42:20.973Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-15T01:42:20.973Z root INFO Resolved "vscode-language-pack-ja" to a VS Code extension "vscode-language-pack-ja@1.53.2" with engines:
2023-01-15T01:42:20.973Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-15T01:42:20.973Z root INFO Resolved "vscode-language-pack-ko" to a VS Code extension "vscode-language-pack-ko@1.53.2" with engines:
2023-01-15T01:42:20.973Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-15T01:42:20.973Z root INFO Resolved "vscode-language-pack-nl" to a VS Code extension "vscode-language-pack-nl@1.48.3" with engines:
2023-01-15T01:42:20.973Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-15T01:42:20.973Z root INFO Resolved "vscode-language-pack-pl" to a VS Code extension "vscode-language-pack-pl@1.53.2" with engines:
2023-01-15T01:42:20.973Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-15T01:42:20.973Z root INFO Resolved "vscode-language-pack-pt-BR" to a VS Code extension "vscode-language-pack-pt-BR@1.53.2" with engines:
2023-01-15T01:42:20.973Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-15T01:42:20.973Z root INFO Resolved "vscode-language-pack-ru" to a VS Code extension "vscode-language-pack-ru@1.53.2" with engines:
2023-01-15T01:42:20.973Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-15T01:42:20.973Z root INFO Resolved "vscode-language-pack-tr" to a VS Code extension "vscode-language-pack-tr@1.53.2" with engines:
2023-01-15T01:42:20.973Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-15T01:42:20.973Z root INFO Resolved "vscode-language-pack-uk" to a VS Code extension "vscode-language-pack-uk@1.48.3" with engines:
2023-01-15T01:42:20.973Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-01-15T01:42:20.973Z root INFO Resolved "vscode-language-pack-zh-hans" to a VS Code extension "vscode-language-pack-zh-hans@1.53.2" with engines:
2023-01-15T01:42:20.981Z root INFO Resolve plugins list: 16.6 ms [Finished 0.346 s after backend start]
2023-01-15T01:42:20.983Z root INFO Deployed backend plugin "marus25.cortex-debug@1.5.1" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/cortex-debug/extension/dist/extension.js": 1.9 ms [Finished 0.348 s after backend start]
2023-01-15T01:42:20.984Z root INFO Deployed backend plugin "arduino.vscode-arduino-tools@0.0.2-beta.5" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-arduino-tools/extension/dist/bundle": 1.1 ms [Finished 0.349 s after backend start]
2023-01-15T01:42:20.988Z root INFO Deployed backend plugin "vscode.cpp@1.52.1" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-builtin-cpp/extension": 3.5 ms [Finished 0.353 s after backend start]
2023-01-15T01:42:20.992Z daemon INFO INFO[0000] Using config file: /Users/nick/.arduinoIDE/arduino-cli.yaml
INFO[0000] arduino-cli version 0.29.0
INFO[0000] Executing `arduino-cli daemon`
{"IP":"127.0.0.1","Port":"56363"}

2023-01-15T01:42:20.992Z daemon INFO Daemon is running.
2023-01-15T01:42:20.995Z root INFO Deployed backend plugin "vscode.json@1.46.1" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-builtin-json/extension": 6.9 ms [Finished 0.360 s after backend start]
2023-01-15T01:42:20.997Z root INFO Deployed backend plugin "vscode.json-language-features@1.46.1" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-builtin-json-language-features/extension/client/dist/jsonMain": 1.9 ms [Finished 0.362 s after backend start]
2023-01-15T01:42:21.027Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-bg@1.48.3" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-bg/extension": 30.3 ms [Finished 0.392 s after backend start]
2023-01-15T01:42:21.027Z daemon INFO INFO[0000] Loading hardware from: /Users/nick/Library/Arduino15/packages
INFO[0000] Loading package arduino from: /Users/nick/Library/Arduino15/packages/arduino/hardware
INFO[0000] Checking signature                            error="opening signature file: open /Users/nick/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/installed.json.sig: no such file or directory" index=/Users/nick/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/installed.json signatureFile=/Users/nick/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/installed.json.sig
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="arduino:avr@1.8.6"
INFO[0000] Checking existence of 'tools' path: /Users/nick/Library/Arduino15/packages/arduino/tools
INFO[0000] Loading tools from dir: /Users/nick/Library/Arduino15/packages/arduino/tools
INFO[0000] Loaded tool                                   tool="arduino:arduinoOTA@1.3.0"
INFO[0000] Loaded tool                                   tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0000] Loaded tool                                   tool="arduino:avrdude@6.3.0-arduino17"
INFO[0000] Loading package builtin from: /Users/nick/Library/Arduino15/packages/builtin
INFO[0000] Checking existence of 'tools' path: /Users/nick/Library/Arduino15/packages/builtin/tools
INFO[0000] Loading tools from dir: /Users/nick/Library/Arduino15/packages/builtin/tools
INFO[0000] Loaded tool                                   tool="builtin:ctags@5.8-arduino11"
INFO[0000] Loaded tool                                   tool="builtin:mdns-discovery@1.0.6"
INFO[0000] Loaded tool                                   tool="builtin:serial-discovery@1.3.3"
INFO[0000] Loaded tool                                   tool="builtin:serial-monitor@0.12.0"
INFO[0000] Loading package esp32 from: /Users/nick/Library/Arduino15/packages/esp32/hardware
INFO[0000] Checking signature                            error="opening signature file: open /Users/nick/Library/Arduino15/packages/esp32/hardware/esp32/2.0.6/installed.json.sig: no such file or directory" index=/Users/nick/Library/Arduino15/packages/esp32/hardware/esp32/2.0.6/installed.json signatureFile=/Users/nick/Library/Arduino15/packages/esp32/hardware/esp32/2.0.6/installed.json.sig
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="esp32:esp32@2.0.6"
INFO[0000] Checking existence of 'tools' path: /Users/nick/Library/Arduino15/packages/esp32/tools
INFO[0000] Loading tools from dir: /Users/nick/Library/Arduino15/packages/esp32/tools
INFO[0000] Loaded tool                                   tool="esp32:esptool_py@4.2.1"

2023-01-15T01:42:21.028Z daemon INFO INFO[0000] Loaded tool                                   tool="esp32:mklittlefs@3.0.0-gnu12-dc7f933"
INFO[0000] Loaded tool                                   tool="esp32:mkspiffs@0.2.3"
INFO[0000] Loaded tool                                   tool="esp32:openocd-esp32@v0.11.0-esp32-20220706"
INFO[0000] Loaded tool                                   tool="esp32:riscv32-esp-elf-gcc@gcc8_4_0-esp-2021r2-patch5"
INFO[0000] Loaded tool                                   tool="esp32:xtensa-esp32-elf-gcc@gcc8_4_0-esp-2021r2-patch5"
INFO[0000] Loaded tool                                   tool="esp32:xtensa-esp32s2-elf-gcc@gcc8_4_0-esp-2021r2-patch5"
INFO[0000] Loaded tool                                   tool="esp32:xtensa-esp32s3-elf-gcc@gcc8_4_0-esp-2021r2-patch5"

2023-01-15T01:42:21.049Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-cs@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-cs/extension": 22.1 ms [Finished 0.414 s after backend start]
2023-01-15T01:42:21.049Z daemon INFO INFO[0000] Checking signature                            index=/Users/nick/Library/Arduino15/package_index.json signatureFile=/Users/nick/Library/Arduino15/package_index.json.sig trusted=true
INFO[0000] Checking signature                            error="opening signature file: open /Users/nick/Library/Arduino15/package_esp32_dev_index.json.sig: no such file or directory" index=/Users/nick/Library/Arduino15/package_esp32_dev_index.json signatureFile=/Users/nick/Library/Arduino15/package_esp32_dev_index.json.sig
INFO[0000] Adding libraries dir                          dir=/Users/nick/Library/Arduino15/packages/arduino/hardware/avr/1.8.6/libraries location=platform
INFO[0000] Adding libraries dir                          dir=/Users/nick/Library/Arduino15/packages/esp32/hardware/esp32/2.0.6/libraries location=platform
INFO[0000] Loading libraries index file                  index=/Users/nick/Library/Arduino15/library_index.json

2023-01-15T01:42:21.085Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-de@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-de/extension": 35.6 ms [Finished 0.450 s after backend start]
2023-01-15T01:42:21.117Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-es@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-es/extension": 32.1 ms [Finished 0.482 s after backend start]
2023-01-15T01:42:21.120Z daemon INFO INFO[0000] Adding libraries dir                          dir=/Users/nick/Library/Arduino15/libraries location=ide
INFO[0000] Adding libraries dir                          dir=/Users/nick/Documents/Arduino/libraries location=user

2023-01-15T01:42:21.138Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-fr@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-fr/extension": 21.4 ms [Finished 0.503 s after backend start]
2023-01-15T01:42:21.152Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-hu@1.48.3" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-hu/extension": 13.8 ms [Finished 0.517 s after backend start]
2023-01-15T01:42:21.155Z discovery-log INFO start request start watch
2023-01-15T01:42:21.156Z discovery-log INFO start requested start watch
2023-01-15T01:42:21.156Z discovery-log INFO start resolved watching
2023-01-15T01:42:21.171Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-it@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-it/extension": 18.7 ms [Finished 0.536 s after backend start]
2023-01-15T01:42:21.171Z daemon INFO INFO[0000] starting discovery builtin:mdns-discovery process
INFO[0000] starting discovery builtin:serial-discovery process
ERRO[0000] Discovery builtin:mdns-discovery failed to run: discovery builtin:mdns-discovery process not started: fork/exec /Users/nick/Library/Arduino15/packages/builtin/tools/mdns-discovery/1.0.6/mdns-discovery: bad CPU type in executable
ERRO[0000] Discovery builtin:serial-discovery failed to run: discovery builtin:serial-discovery process not started: fork/exec /Users/nick/Library/Arduino15/packages/builtin/tools/serial-discovery/1.3.3/serial-discovery: bad CPU type in executable

2023-01-15T01:42:21.190Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ja@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-ja/extension": 19.0 ms [Finished 0.555 s after backend start]
2023-01-15T01:42:21.205Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ko@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-ko/extension": 14.7 ms [Finished 0.570 s after backend start]
2023-01-15T01:42:21.211Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-nl@1.48.3" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-nl/extension": 6.5 ms [Finished 0.576 s after backend start]
2023-01-15T01:42:21.227Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pl@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-pl/extension": 15.9 ms [Finished 0.592 s after backend start]
2023-01-15T01:42:21.245Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pt-br@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-pt-BR/extension": 17.4 ms [Finished 0.610 s after backend start]
2023-01-15T01:42:21.264Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ru@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-ru/extension": 19.5 ms [Finished 0.629 s after backend start]
2023-01-15T01:42:21.278Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-tr@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-tr/extension": 14.1 ms [Finished 0.643 s after backend start]
2023-01-15T01:42:21.290Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-uk@1.48.3" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-uk/extension": 11.9 ms [Finished 0.655 s after backend start]
2023-01-15T01:42:21.304Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-zh-hans@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-zh-hans/extension": 13.4 ms [Finished 0.669 s after backend start]
2023-01-15T01:42:21.304Z root INFO Deploy plugins list: 16.6 ms [Finished 0.669 s after backend start]
Opening channel for service path '/services/electron-window-ext'.
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
1   HIToolbox                           0x00000001a1dfc5c8 _ZN15MenuBarInstance22EnsureAutoShowObserverEv + 120
2   HIToolbox                           0x00000001a1dfc188 _ZN15MenuBarInstance14EnableAutoShowEv + 60
3   HIToolbox                           0x00000001a1d9f310 SetMenuBarObscured + 372
4   HIToolbox                           0x00000001a1d9eee8 _ZN13HIApplication15HandleActivatedEP14OpaqueEventRefhP15OpaqueWindowPtrh + 172
5   HIToolbox                           0x00000001a1d98fcc _ZN13HIApplication13EventObserverEjP14OpaqueEventRefPv + 296
6   HIToolbox                           0x00000001a1d5fcd0 _NotifyEventLoopObservers + 176
7   HIToolbox                           0x00000001a1d9896c AcquireEventFromQueue + 432
8   HIToolbox                           0x00000001a1d87e0c ReceiveNextEventCommon + 712
9   HIToolbox                           0x00000001a1d87b2c _BlockUntilNextEventMatchingListInModeWithFilter + 72
10  AppKit                              0x000000019b934424 _DPSNextEvent + 632
11  AppKit                              0x000000019b9335b4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728
12  AppKit                              0x000000019b9279e4 -[NSApplication run] + 464
13  Electron Framework                  0x000000010b9355cc _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 9250736
14  Electron Framework                  0x000000010b93419c _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 9245568
15  Electron Framework                  0x000000010b902bb8 _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 9043356
16  Electron Framework                  0x000000010b8db748 _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 8882476
17  Electron Framework                  0x000000010b37ece8 _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 3260108
18  Electron Framework                  0x000000010b3801e0 _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 3265476
19  Electron Framework                  0x000000010b37c778 _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 3250524
20  Electron Framework                  0x000000010a880a5c _ZN8electron5fuses28IsOnlyLoadAppFromAsarEnabledEv + 5797104
21  Electron Framework                  0x000000010a880554 _ZN8electron5fuses28IsOnlyLoadAppFromAsarEnabledEv + 5795816
22  Electron Framework                  0x000000010a87ef54 _ZN8electron5fuses28IsOnlyLoadAppFromAsarEnabledEv + 5790184
23  Electron Framework                  0x000000010a87f7f8 _ZN8electron5fuses28IsOnlyLoadAppFromAsarEnabledEv + 5792396
24  Electron Framework                  0x000000010a150024 ElectronMain + 112
25  Arduino IDE                         0x00000001023554ac Arduino IDE + 5292
26  dyld                                0x00000001982abe50 start + 2544
2023-01-15T01:42:21.822Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 158.0 ms [Finished 0.667 s after frontend start]
2023-01-15T01:42:21.940Z root INFO Start frontend contributions: 310.2 ms [Finished 0.785 s after frontend start]
2023-01-15T01:42:21.940Z root INFO Changed application state from 'init' to 'started_contributions'.
2023-01-15T01:42:21.944Z root INFO Changed application state from 'started_contributions' to 'attached_shell'.
2023-01-15T01:42:21.945Z root INFO >>> Restoring the layout state...
2023-01-15T01:42:21.945Z root INFO <<< Nothing to restore.
2023-01-15T01:42:21.957Z root INFO Initialize the workbench layout: 9.5 ms [Finished 0.807 s after frontend start]
2023-01-15T01:42:21.961Z root INFO Changed application state from 'attached_shell' to 'initialized_layout'.
2023-01-15T01:42:21.977Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0] Waiting for backend deployment: 44.9 ms [Finished 0.829 s after frontend start]
2023-01-15T01:42:22.148Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459) starting instance
2023-01-15T01:42:22.337Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0] Sync of 21 plugins: 346.3 ms [Finished 1.175 s after frontend start]
2023-01-15T01:42:22.337Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][marus25.cortex-debug]: Loaded contributions.
2023-01-15T01:42:22.337Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][arduino.vscode-arduino-tools]: Loaded contributions.
2023-01-15T01:42:22.337Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][vscode.cpp]: Loaded contributions.
2023-01-15T01:42:22.337Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][vscode.json]: Loaded contributions.
2023-01-15T01:42:22.337Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][vscode.json-language-features]: Loaded contributions.
2023-01-15T01:42:22.337Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-bg]: Loaded contributions.
2023-01-15T01:42:22.337Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-cs]: Loaded contributions.
2023-01-15T01:42:22.338Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-de]: Loaded contributions.
2023-01-15T01:42:22.338Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-es]: Loaded contributions.
2023-01-15T01:42:22.338Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-fr]: Loaded contributions.
2023-01-15T01:42:22.338Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-hu]: Loaded contributions.
2023-01-15T01:42:22.338Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-it]: Loaded contributions.
2023-01-15T01:42:22.338Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-ja]: Loaded contributions.
2023-01-15T01:42:22.338Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-ko]: Loaded contributions.
2023-01-15T01:42:22.338Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-nl]: Loaded contributions.
2023-01-15T01:42:22.338Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-pl]: Loaded contributions.
2023-01-15T01:42:22.338Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-pt-br]: Loaded contributions.
2023-01-15T01:42:22.338Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-ru]: Loaded contributions.
2023-01-15T01:42:22.338Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-tr]: Loaded contributions.
2023-01-15T01:42:22.338Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-uk]: Loaded contributions.
2023-01-15T01:42:22.338Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-zh-hans]: Loaded contributions.
2023-01-15T01:42:22.338Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0] Load contributions of 21 plugins: 13.5 ms [Finished 1.189 s after frontend start]
2023-01-14 17:42:22.380 Arduino IDE Helper (Renderer)[22455:201192] 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-01-14 17:42:22.380 Arduino IDE Helper (Renderer)[22455:201192] CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug.
2023-01-15T01:42:22.422Z root WARN 'cpp' language is remapped from 'source.cpp.embedded.macro' to 'source.cpp' scope
2023-01-15T01:42:22.422Z root WARN a registered grammar configuration for 'cpp' language is overridden
2023-01-15T01:42:22.504Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459): PluginManagerExtImpl/init()
2023-01-15T01:42:22.505Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459): initializing(cortex-debug@1.5.1 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-15T01:42:22.506Z root INFO [hosted-plugin: 22459] Debugger contribution has been registered: cortex-debug
2023-01-15T01:42:22.507Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459): initializing(vscode-arduino-tools@0.0.2-beta.5 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-15T01:42:22.507Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459): initializing(cpp@1.52.1 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-15T01:42:22.507Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459): initializing(json@1.46.1 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-15T01:42:22.508Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459): initializing(json-language-features@1.46.1 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-15T01:42:22.508Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459): initializing(vscode-language-pack-bg@1.48.3 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-15T01:42:22.509Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459): initializing(vscode-language-pack-cs@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-15T01:42:22.509Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459): initializing(vscode-language-pack-de@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-15T01:42:22.509Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459): initializing(vscode-language-pack-es@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-15T01:42:22.510Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459): initializing(vscode-language-pack-fr@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-15T01:42:22.511Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459): initializing(vscode-language-pack-hu@1.48.3 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-15T01:42:22.511Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459): initializing(vscode-language-pack-it@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-15T01:42:22.511Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459): initializing(vscode-language-pack-ja@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-15T01:42:22.511Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459): initializing(vscode-language-pack-ko@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-15T01:42:22.512Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459): initializing(vscode-language-pack-nl@1.48.3 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-15T01:42:22.512Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459): initializing(vscode-language-pack-pl@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-15T01:42:22.512Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459): initializing(vscode-language-pack-pt-BR@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-15T01:42:22.512Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459): initializing(vscode-language-pack-ru@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-15T01:42:22.512Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459): initializing(vscode-language-pack-tr@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-15T01:42:22.513Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459): initializing(vscode-language-pack-uk@1.48.3 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-15T01:42:22.513Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459): initializing(vscode-language-pack-zh-hans@1.53.2 with /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/plugin-ext-vscode/lib/node/plugin-vscode-init)
2023-01-15T01:42:22.612Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459): PluginManagerExtImpl/loadPlugin(/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-builtin-json-language-features/extension/client/dist/jsonMain)
2023-01-15T01:42:22.627Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][marus25.cortex-debug]: Started plugin.
2023-01-15T01:42:22.627Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][arduino.vscode-arduino-tools]: Started plugin.
2023-01-15T01:42:22.627Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][vscode.cpp]: Started plugin.
2023-01-15T01:42:22.627Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][vscode.json]: Started plugin.
2023-01-15T01:42:22.627Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][vscode.json-language-features]: Started plugin.
2023-01-15T01:42:22.627Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-bg]: Started plugin.
2023-01-15T01:42:22.627Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-cs]: Started plugin.
2023-01-15T01:42:22.627Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-de]: Started plugin.
2023-01-15T01:42:22.628Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-es]: Started plugin.
2023-01-15T01:42:22.628Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-fr]: Started plugin.
2023-01-15T01:42:22.628Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-hu]: Started plugin.
2023-01-15T01:42:22.628Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-it]: Started plugin.
2023-01-15T01:42:22.628Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-ja]: Started plugin.
2023-01-15T01:42:22.628Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-ko]: Started plugin.
2023-01-15T01:42:22.628Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-nl]: Started plugin.
2023-01-15T01:42:22.628Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-pl]: Started plugin.
2023-01-15T01:42:22.628Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-pt-br]: Started plugin.
2023-01-15T01:42:22.628Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-ru]: Started plugin.
2023-01-15T01:42:22.628Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-tr]: Started plugin.
2023-01-15T01:42:22.628Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-uk]: Started plugin.
2023-01-15T01:42:22.628Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0][ms-ceintl.vscode-language-pack-zh-hans]: Started plugin.
2023-01-15T01:42:22.635Z root INFO [hosted-plugin: 22459] PLUGIN_HOST(22459): PluginManagerExtImpl/loadPlugin(/Applications/Arduino IDE.app/Contents/Resources/app/plugins/cortex-debug/extension/dist/extension.js)
2023-01-15T01:42:22.648Z root INFO [hosted-plugin: 22459] Debug configuration provider has been registered: cortex-debug, trigger: 1
2023-01-15T01:42:22.649Z root INFO [hosted-plugin: 22459] GDB server console created
2023-01-15T01:42:22.654Z root INFO [94ac2d4c-98b2-497b-8358-f97efe4288c0] Start of 21 plugins: 312.0 ms [Finished 1.507 s after frontend start]
2023-01-15T01:42:22.950Z root INFO Frontend application start: 1137.8 ms [Finished 2.315 s after backend start]
2023-01-15T01:42:22.953Z root INFO Replace loading indicator with ready workbench UI (animation): 831.2 ms [Finished 1.641 s after frontend start]
2023-01-15T01:42:22.953Z root INFO Changed application state from 'initialized_layout' to 'ready'.
2023-01-15T01:42:22.955Z root WARN Linked preference "workbench.colorCustomizations" not found. Source: "editor.bracketPairColorization.enabled"
Checking for update
2023-01-15T01:42:22.957Z fwuploader ERROR Error: Error executing "/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/build/arduino-fwuploader" firmware list --format json: /bin/sh: /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/build/arduino-fwuploader: Bad CPU type in executable
    at ChildProcess.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/exec-util.js:53:31)
    at ChildProcess.emit (node:events:394:28)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
2023-01-15T01:42:22.957Z root ERROR Request updatableBoards failed with error: Error executing "/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/build/arduino-fwuploader" firmware list --format json: /bin/sh: /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/build/arduino-fwuploader: Bad CPU type in executable
2023-01-15T01:42:22.961Z fwuploader ERROR Error: Error executing "/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/build/arduino-fwuploader" firmware list --format json: /bin/sh: /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/build/arduino-fwuploader: Bad CPU type in executable
    at ChildProcess.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/exec-util.js:53:31)
    at ChildProcess.emit (node:events:394:28)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
2023-01-15T01:42:22.961Z root ERROR Request updatableBoards failed with error: Error executing "/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/build/arduino-fwuploader" firmware list --format json: /bin/sh: /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/build/arduino-fwuploader: Bad CPU type in executable
2023-01-15T01:42:23.369Z root ERROR ---- !!!SLOW!!! DURATION: search took 372.658 ms. Args: [{"type":"Updatable"}] ----
Update for version 2.0.3 is not available (latest version: 2.0.3, downgrade is allowed).
1   HIToolbox                           0x00000001a1d8790c _ZN15MenuBarInstance22RemoveAutoShowObserverEv + 44
2   HIToolbox                           0x00000001a1d9f214 SetMenuBarObscured + 120
3   HIToolbox                           0x00000001a1da6390 _ZN13HIApplication11FrontUILostEv + 44
4   HIToolbox                           0x00000001a1d9f04c _ZN13HIApplication15HandleActivatedEP14OpaqueEventRefhP15OpaqueWindowPtrh + 528
5   HIToolbox                           0x00000001a1d98f70 _ZN13HIApplication13EventObserverEjP14OpaqueEventRefPv + 204
6   HIToolbox                           0x00000001a1d5fcd0 _NotifyEventLoopObservers + 176
7   HIToolbox                           0x00000001a1d9896c AcquireEventFromQueue + 432
8   HIToolbox                           0x00000001a1d87e0c ReceiveNextEventCommon + 712
9   HIToolbox                           0x00000001a1d87b2c _BlockUntilNextEventMatchingListInModeWithFilter + 72
10  AppKit                              0x000000019b934424 _DPSNextEvent + 632
11  AppKit                              0x000000019b9335b4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728
12  AppKit                              0x000000019b9279e4 -[NSApplication run] + 464
13  Electron Framework                  0x000000010b9355cc _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 9250736
14  Electron Framework                  0x000000010b93419c _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 9245568
15  Electron Framework                  0x000000010b902bb8 _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 9043356
16  Electron Framework                  0x000000010b8db748 _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 8882476
17  Electron Framework                  0x000000010b37ece8 _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 3260108
18  Electron Framework                  0x000000010b3801e0 _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 3265476
19  Electron Framework                  0x000000010b37c778 _ZN2v88internal20SetupIsolateDelegate9SetupHeapEPNS0_4HeapE + 3250524
20  Electron Framework                  0x000000010a880a5c _ZN8electron5fuses28IsOnlyLoadAppFromAsarEnabledEv + 5797104
21  Electron Framework                  0x000000010a880554 _ZN8electron5fuses28IsOnlyLoadAppFromAsarEnabledEv + 5795816
22  Electron Framework                  0x000000010a87ef54 _ZN8electron5fuses28IsOnlyLoadAppFromAsarEnabledEv + 5790184
23  Electron Framework                  0x000000010a87f7f8 _ZN8electron5fuses28IsOnlyLoadAppFromAsarEnabledEv + 5792396
24  Electron Framework                  0x000000010a150024 ElectronMain + 112
25  Arduino IDE                         0x00000001023554ac Arduino IDE + 5292
26  dyld                                0x00000001982abe50 start + 2544

OK, great. I see the problem here:

Does your Mac have an M1 or M2 CPU (as opposed to the "Intel" variant)?

Bad CPU type in executable makes me suspect that something was miscompiled for the host.

file "`find /Applications/Arduino\ IDE.app -name arduino-fwuploader`"
/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/build/arduino-fwuploader: Mach-O 64-bit executable x86_64

Looking at the contents of https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json, grepping for apple, I only see: `"host": "x86_64-apple-darwin". I'm on apple silicon with is aarch64. I wonder if there's something I need to do to download/enable rosetta 2 on macos, or if I need to contact expressif (or seeed studio) about providing aarch64-apple-darwin host based toolchains?

Does your Mac have an M1 or M2 CPU (as opposed to the "Intel" variant)?

I'm on a M2 Macbook air (2022).

Installing rosetta now...
$ softwareupdate --install-rosetta

No, I don't think it a problem with it being miscompiled.

This error can be caused by not having Apple's Rosetta 2 software installed. Even though your Arduino IDE 2.x installation is a native Apple Silicon build, the tools used by Arduino IDE are still built for x86 host architecture. That is no problem as long as you have Rosetta 2 installed because it allows x86 applications to run perfectly on the Apple Silicon machines.

Normally when you start an x86 application macOS presents a dialog explaining that you need to install Rosetta 2:


However, I'm not sure whether that happens in this case where the x86 application is a tool running in a subprocess. This is a fairly new situation because we published the first native Apple Silicon build of Arduino IDE only a few weeks ago.

Please try manually installing Rosetta 2. I'll provide instructions:

  1. Open your Applications folder in Finder.
  2. Open the Utilities folder.
  3. Double-click on "Terminal".
  4. Type the following command in the Terminal window:
    softwareupdate --install-rosetta
    
  5. Accept the license agreement.
  6. Wait for the installation to finish.

Now restart Arduino IDE. Hopefully this time that "bad CPU type in executable" error will not occur and everything will work correctly.

Haha, you're one step ahead of me. Great work!

Yep, that was it!

So it looks like MacOS doesn't prompt you to install rosetta if you're attempting to run a x86_64-apple-darwin based binary from the command line.

$ /Applications/Arduino\ IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/build/arduino-fwuploader --version
zsh: bad CPU type in executable: /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/build/arduino-fwuploader

but if you install Rosetta then you're good to go.

$ softwareupdate --install-rosetta
$ /Applications/Arduino\ IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/build/arduino-fwuploader --version
Error: unknown flag: --version
Usage:
  arduino-fwuploader [command]
...

Awesome, thanks for the low latency support! ++beers_owed;.

You are welcome. I'm glad it is working now. We had two other reports about this type of problem (it can occur with any of the many tools invoked as subprocesses by Arduino IDE, so the symptoms can be quite different even if the root cause is the same) since the time the first native Apple Silicon build of Arduino IDE 2.x was published in December.

The team working on Arduino IDE 2.x discussed the problem and we did not come up with any technical solution. Even if Arduino produces native Apple Silicon builds of all the tools we maintain, which is actually quite challenging due to the lack of build infrastructure for this target, that still wouldn't completely solve the problem because Arduino boards platforms can use any arbitrary tool from external sources and it is unlikely the maintainers of all the hundreds of 3rd party boards platforms will also produce Apple Silicon builds of their toolchains.

So the mitigation measure we are planning is to publish an article about the problem and solution in the Arduino Help Center. That information will be more discoverable for those searching against the error message and can also serve as a reference for those providing support to the Arduino users.

The difficulty I encountered is that I already have Rosetta installed on my Mac and it turns out to be very difficult to uninstall it so I haven't been able to reproduce the problem yet in order to effectively research the full scope of the problem. My plan now is to set up a virtual machine to achieve a fresh macOS environment for testing. I only recently got my first Mac so I don't have any experience with VMs on macOS.