I've found a couple of threads on similar issues for Windows users but none for OSX.
After a long pause in doing stuff with my electronics I wanted to restart my last unfinished project from 3 years ago. (Espressif ESP32-WROOM-DA Module) Back then it compiled and worked just fine.
Now, on a new laptop (just migrated files through iCloud, NOT applications!) and a way newer Arduino IDE version I suddenly got compiler errors with one lib. (ESP32_ISR_SERVO) As I couldn't find any solution, I even considered changing the existing code to a new lib. But I then had to realize that even example files of other libs do not compile.
Also, on every startup there are error messages about Arduino_BuiltIn about existing versions of some dependencies. Even after uninstalling EVERY lib through the lib manager and reinstalling Arduino IDE the situation remains the same.
My next idea would be to remove EVERYTHING Arduino IDE related (especially libs and program preferences). Except for my sketches, of course. But: HOW?
Any tutorial or guideline on how to proceed would be highly appreciated. Of course I'd be just as happy about any hint how to solve my issues in a different way.
The sketchbook folder location is configured via the Arduino IDE preferences.
You can determine the location by selecting File > Preferences from the Arduino IDE menus and then checking the path shown in the "Sketchbook location" preference.
Configuration Folder
This folder is located at the following path:
/Users/<username>/.arduinoIDE/
(where <username> is your macOS username)
The .arduinoIDE folder is hidden by default. You can make it visible by pressing the Command+Shift+. keyboard shortcut.
Data Folder
This folder is located at the following path:
/Users/<username>/Library/Arduino15/
(Where <username> is your macOS username)
The Library folder is hidden by default. You can make it visible by pressing the Command+Shift+. keyboard shortcut.
thanks so much for your well explained answer. This completely resolved my problem with the not installable libs!
In parallel I found out that my not compiling code was due to the latest ESP32 board version installed. After rolling back to a 2.x everything works again. Had not been aware, that here latest ain't always greatest!