-
Notifications
You must be signed in to change notification settings - Fork 132
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
MacOS installer incomplete or broken #1682
Comments
To avoid installation problems you can always compile locally as explained here |
Howdy, seconding this to see if there are any updated for builds? 4.3.2 All seem to have this issue. |
As I do not own a mac I do not know nor understand what the problem is. |
I do and would be more than happy to help. At least for other macOS folks who find themselves here. :) From a high-level perspective, it appears that the build process for Macs (at least aarch64 Macs) is not producing a valid build product. When I attempt to run 4.4.3 I get the following error:
Similarly, if I clone the repo and attempt to build locally by running:
from HEAD of master, I see what seems to be a completely successful build result. But get the following output from build_then_launch.sh:
Opening build_then_launch.sh, this is because line 3:
is hardcoded for Linux builds. I was able to find the macOS build products in: So, while the official build product doesn't seem to be working, you can build it yourself by following the aforementioned instructions. |
That sounds great
That is not the right command.
As stated above that is because you didn't build io.sloeber.product but build io.sloeber.product.sdk (I know it is confusing) |
Cool, (so assuming the following is correct) running:
Yields a launch-able build. I can't seem to coerce the v4_4_3_0 tag to build, so I'm comparing HEAD on master to the build products downloaded from the sloeber website. But some quick differences I noticed are: v4.4.3 is missing:
and has this vestigial directory:
|
Comparing the current master head to any previous sloeber releases is useless as they are hugely different. |
Copying (and perhaps editing) the info.plist file from a previous version and copying the resource folder with the icon works in the sense that I can compile Blink example code for the ESP32-S3 with Sloeber 4.4.3. In general, the Mac versions of Sloeber seem quite "flaky" compared to the Windows versions.
On my Windows installation of 4.4.1, this all works flawlessly without having to use the command line or terminal to get anything out of quarantine. Then I installed 4.4.1 on my mac using the same steps. Did not work. App could not be started. I had to go and find the sloeber-ide file and use chmod 755 to make it executable. However, what all of those installations on the Mac share is that the indexing or discovery doesn't work. None of this is needed for my Windows Sloeber 4.4.1 installation. I can compile and upload, and libraries/includes are indexed/discovered. |
Many of the ESP32 problems are related to the specific version of the ESP32 platform (the indexer is version independent). FYI I just made a lot of changes to Sloeber V5 to make ESP32 version 3.0.7 work out of the box; I doubt Sloeber V4.X works with ESP V3.0.7. |
TL:DR -> versions 4.4.2 and 4.4.3 now work, and "stuff" has been discovered. I can build and upload my application with both. Longer version: I believe some of this behavior has been described by other users, and what it comes down to is that Sloeber has to download stuff in the background but isn't particularly verbose about it. When it's finally done configuring itself, then things start to work seemingly magically. Thank you for your relentless work on Sloeber!!! |
If you want to have identical copies you also need to copy the arduinplugin (which is where the "finishing installation" magic happens) from the sloeber app.
The initial install is annoying and has to run fully for things to work properly (I fully understand why arduino IDE provides the avr platform with the IDE) but Sloeber V4.X and earlier also "finishing installation" at each Sloeber start. I finally got to fix that in V5 (as it makes testing annoying ) Note that you can create the SLOEBER_HOME environment variable ans Sloeber will place the arduinoplugin folder there.
Thanks |
Is this a real issue I can do something about? |
macOS Monterey Version 12.6.1 (MacBook Pro Mid 2015)
Download link:
https://github.com/Sloeber/arduino-eclipse-plugin/releases/download/V4_4_3_0/sloeber-ide-V4.4.3-macosx.cocoa.x86_64.zip
After downloading .zip and unzipping, when moving Sloeber.app to application folder having error message "Sloeber.app incomplete or damaged".
https://github.com/Sloeber/arduino-eclipse-plugin/releases/download/V4_4_2_0/sloeber-ide-V4.4.2-macosx.cocoa.x86_64.zip
So i understand the fast workaround can be to replace Eclipse.app in Sloeber.app
If its possible, provide me please with info from where Eclipse.app to take and version of it.
The text was updated successfully, but these errors were encountered: