opensmalltalk-vm icon indicating copy to clipboard operation
opensmalltalk-vm copied to clipboard

squeak.cog.spur_macos64ARMv8.dmg is corrupted

Open unique75m opened this issue 1 year ago • 3 comments

MacOS says that the squeak.cog.spur_macos64ARMv8.dmg is corrupted. I can mount/open the .dmg, but I can't start the Squeak.exe inside. This happens in stable and latest version. I tried downloading it with Safari and Chrome, but it seems it is not a download issue.

unique75m avatar Jul 25 '24 20:07 unique75m

Hi. Please drag-and-trop the Squeak.app inside the DMG somewhere else and start from there. Running Squeak in its download location does not work on macOS

krono avatar Jul 25 '24 21:07 krono

I did that already, it says the same, that Squeak.exe is corrupted

unique75m avatar Jul 26 '24 10:07 unique75m

I did that already, it says the same, that Squeak.exe is corrupted

did you ever get it working? I think I can help.

xattr -cr

Workaround

I also had the same problem and then "fixed" it like this: sometimes I have to do xattr -cr <App.app> so in this case it would be xattr -cr Squeak.app and hopefully that works for you too. This all happened in my Temp folder not in Downloads just to address that up front. If you are OS15 then also see the one-time rigamarole below.

Before xattr -cr :

Screenshot 2024-11-26 at 5 15 07 PM Small

After xattr -cr :

Screenshot 2024-11-26 at 5 15 37 PM Small

Background: Why this happened?

The rest of this is optional and has nothing to do with squeak.

Permissions related to stuff like this ("corrupted" apps, open source apps, any apps downloaded outside of the app store, etc.) have changed in the background of MacOS this year so that might be why this happened.

How to run "corrupted" apps on OS 15

In OS15.1.1 I had to do this little rigamarole one time a few weeks ago and now I only have to do xattr -cr from time to time. I was already doing xattr -cr pretty regularly on OS14 and before and you will still have to do that.

The rigamarole

run sudo spctl --master-disable and then it told me to go into system settings to manually confirm: system-settings->Privacy & Security -> Allow Applications from -> Anywhere.  Then I confirmed it like twice and then you can theoretically run anything (well after doing xattr -cr)

Good luck!

JudgeGroovyman avatar Nov 26 '24 23:11 JudgeGroovyman