Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Does not work on macOS Sonoma (M1 Mac. Mini) #1751

Description

@JohnHind

I have spent ages trying to get this working on my Mac, although I have it working well on my Windows PC.

Today, just to be sure I was not doing anything stupid, I completely nuked my Mac and reloaded the OS, the Arduino IDE, VS Code and the Arduino extension. It prompted me to use the bundled Arduino CLI and I gave it permission. I created and opened an empty new folder on the desktop and executed 'Arduino: Initialize' and specified the same name as the folder for the '.ino' file. I selected a board at random and clicked the 'verify' button with the following result:

[Starting] Verifying sketch 'test.ino'
Please see the build logs in output path: /Users/johnhind/Desktop/test/build
[Warning] Failed to generate IntelliSense configuration.
[Error] Verifying sketch 'test.ino': {"code":null}

The only thing in the specified 'test' directory is the 'test.ino' sketch - no 'build' directory, no logs.

When I restart VS Code, I get the following 'helpful' message:

[Starting] Update package index files...
dummy
[Error] Exit with code=null

[Starting] Analyzing sketch 'test.ino'
Please see the build logs in output path: /Users/johnhind/Desktop/test/build
[Warning] Failed to generate IntelliSense configuration.
[Error] Analyzing sketch 'test.ino': {"code":null}

Apart from not appreciating being addressed as 'dummy', this seems to indicate that none of the CLI calls are working.

Has anyone got this working on an Apple Silicon Mac? If so, what might I be doing wrong?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions