Error when trying to compile after update to IDE 1.8.12 - On MacOS Catalina

Hello,

After updating to Arduino IDE 1.8.12, and try to compile starts to get the following message:

Arduino: 1.8.12 (Mac OS Catalina), Board: "Arduino Nano, ATmega328P"

loading hardware from /Users/myuser/Documents/Arduino/hardware: reading /Users/myuser/Documents/Arduino/hardware directory: open /Users/myuser/Documents/Arduino/hardware: operation not permitted

Error compiling for board Arduino Nano.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Before the update it was working perfectly. Also because of this I did update Java to JDK 1.8.0_241_b07 but same result.

Any ideas what it could be ?

Thanks,
Iohy

Finally I could make it compile properly.

To fix the issue I did the following:

  1. Uninstall the IDE, delete the app from the /Applications directory
  2. Delete the folder /Users/myuser/Library/Arduino15
  3. Remove the /Users/myuser/documents/Arduino, in my case I remove it, but be careful with the existing project not to delete those without having a backup

Once the environment was clean, re-download the IDE app and install and them run it.

It installs clean and now I can compile and play !

1 Like