Doesn't work on macOS Monterey 12.3!
See original GitHub issueSince updating to macOS Monterey 12.3 there have been issues trying to upload code to my ESP32.
macOS Monterey 12.3 officially removes support for python 2.7
I got the Arduino IDE to work by following this guide: https://github.com/espressif/arduino-esp32/issues/4717
Couldn’t achieve the same in platformio, just keep getting the following message:
/Users/VladislavS/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: /Users/VladislavS/.platformio/packages/toolchain-xtensa32/bin/../libexec/gcc/xtensa-esp32-elf/5.2.0/liblto_plugin.so: error loading plugin: dlopen(/Users/VladislavS/.platformio/packages/toolchain-xtensa32/bin/../libexec/gcc/xtensa-esp32-elf/5.2.0/liblto_plugin.so, 0x0002): Library not loaded: /opt/osxcross/target/bin/../x86_64-apple-darwin12/lib/libstdc++.6.dylib
Referenced from: /Users/VladislavS/.platformio/packages/toolchain-xtensa32/libexec/gcc/xtensa-esp32-elf/5.2.0/liblto_plugin.0.so
Reason: tried: '/opt/osxcross/target/bin/../x86_64-apple-darwin12/lib/libstdc++.6.dylib' (no such file)
collect2: error: ld returned 1 exit status
*** [.pio/build/esp32dev/firmware.elf] Error 1
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:13 (3 by maintainers)
Top Results From Across the Web
macOS Monterey problems: how to fix the most common issues
The most commonly reported macOS Monterey problems include battery drain, trackpad and mouse issues, missing features and stuck apps that ...
Read more >macOS 12 Monterey: Versions, problems, and fixes - Macworld
Monterey won't download or install · Battery life issues · Display not working · Games controller issues · Bricked Macs · Memory management...
Read more >10 Common macOS Monterey Problems & How to Fix Them
The current list of macOS Monterey problems includes severe battery drain, Wi-Fi issues, UI lag, crashes, issues with first and third-party apps ...
Read more >Problem updating to Monterey 12.3 from 12.2.1
I have two problems with Mac OS Monterey. First, my 14" MacBook Pro will not install the update. I have tried this from...
Read more >Monterey Problems: How to fix the most common macOS 12 ...
Reboot your Mac in Safe Mode: Apple menu > Shut down > Hold down Shift when restarting your Mac > release Shift once...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Found a solution that works on M1! https://github.com/espressif/arduino-esp32/issues/6269#issuecomment-1046149252
Closing the issue as everything works on the stable MacOS 12.3.