-
-
Notifications
You must be signed in to change notification settings - Fork 684
Doesn't work on macOS Monterey 12.3! #727
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
same with me |
Is macOS 12.3 already out? |
It is currently in beta with a planned release in two to three weeks. |
If you still can run "python" in Terminal. open /Applications/Arduino.app |
This was also reported over at espressif/arduino-esp32#6269 I have this same issue on a x86 MacOS 12.3 Beta (21E5206e) for PlatformIO. Running otool over liblto_plugin.0.so shows that it explicitly links to osxcross for whatever reason:
Theoretically the missing library should have always made it fail so it seems like something in MacOS 12.3 is triggering the lto plugin to be used when it wasn't previously. A workaround that seems to work fine for me (x86 only so won't work for M1/arm64) is installing gcc from Homebrew, creating the osxcross path and copying libstdc++.6.dylib:
I should also add that libstdc++.6.dylib didn't already exist anywhere else on the filesystem. |
Thanks it seems it works for me ..... back in game :-) |
|
where did you add |
Thank you , back in the game again.. |
Found a solution that works on M1!
|
Works without any issue with MacOS 12.3 Compiles without any errors or warnings with my custom Platformio setup for Tasmota (which can use lto). Latest actual S3 branch Arduino build
|
I can also confirm that everything is fine on the release MacOS 12.3 after reversing the workarounds. |
Closing the issue as everything works on the stable MacOS 12.3. |
Since 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: espressif/arduino-esp32#4717
Couldn't achieve the same in platformio, just keep getting the following message:
The text was updated successfully, but these errors were encountered: