Skip to content
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 Apple Silicon v 0.0.17 : Can't open, file is corrupted #276

Open
nderambure opened this issue Jun 28, 2023 · 12 comments
Open

MacOS Apple Silicon v 0.0.17 : Can't open, file is corrupted #276

nderambure opened this issue Jun 28, 2023 · 12 comments

Comments

@nderambure
Copy link

nderambure commented Jun 28, 2023

Hello,

Just tried to use the Silicon version on macbook pro M1, but can't open file, even with right click > open.
File is corrupted. Did download many times, still same issue.

The Mac64 version works.

Thx !

@Jermolene
Copy link
Member

Hi @nderambure I was able to download the ZIP file from the link, and after decompressing it I was able to run TiddlyDesktop.app on an Apple Silicon Mac.

Is the ZIP file decompressing correctly for you? Is it TiddlyDesktop.app that is not opening?

image

@nderambure
Copy link
Author

Hello @Jermolene.
The zip is uncompressed without problem, I put the app file in Applications folder and launch it with right click > open.
No problem for Mac64 version, but Silicon goes like this :

screenshot

I'm using MacOs Monterey.
How can I help ?

@Jermolene
Copy link
Member

Many thanks @nderambure I was able to duplicate the problem, and have uploaded a new release that seems to fix the problem:

https://github.com/TiddlyWiki/TiddlyDesktop/releases/tag/v0.0.18

Please let me know how the new release works for you.

@nderambure
Copy link
Author

nderambure commented Jun 29, 2023

Thx for this @Jermolene, I've just tried with this new version.... and same problem :'(
I've removed entirely the App using CleanMyMacX and retried, but still corrupted file.
I've noticed in your commit that you changed attribute to make the file executable but it seems something else is needed.
Let me know if you want me to provide more infos.
Thx anyway for the work !

@git-kundan
Copy link

I am experiencing same issue. Looks like something to do with code signing. I am on Mac OS Ventura 13.4.1 (22F82). Please see the screenshot below.
TiddlyDesktopDamaged_SignatureIssue

@Jermolene
Copy link
Member

We appear to be running into an issue that has been encountered by others. See: 1kc/razer-macos#449

The discussion there suggests that the solution may be to codesign the application and the zip file using a self-signed certificate or better still to codesign and notarise the app. I'll research further.

@nderambure
Copy link
Author

Thx for your work @Jermolene !

@FredZ
Copy link

FredZ commented Jul 14, 2023

Same problem as git-kundan
I am on a Mac mini M2 ; Mac OS Ventura 13.4.1 .
The Mac64 version works.

Thx !

@Jermolene
Copy link
Member

Thanks everyone. I've started trying to figure out how to sign the application using Apple's developer tools which turns out to be quite complicated.

In the meantime, I've made an adjustment to the build packaging process which in my testing permits TiddlyDesktop to run by overriding the macOS security warnings. I've updated the release note with some instructions:

https://github.com/TiddlyWiki/TiddlyDesktop/releases/tag/v0.0.18

@nderambure
Copy link
Author

@Jermolene : note that on MacOS Monterey, the button "open anyway" does not appear.
I keep using MacOS 64 version, no problem so far, just need to open it with right click > Open the first time.

@tiagox
Copy link

tiagox commented Oct 19, 2023

Hi, the issue is still happening with v0.0.18.

image

I'm using macOS Ventura Version 13.2.1 in a Apple M2 Pro chip.

I'm falling back to mac64 version for now.

Please let us know if there's any way we can provide more information to help.

@tostr7191
Copy link

This is a problem with MacOS putting the program in quarantine. You can get around this (locally) by first trying to open it, so you get the message in the screenshots above, then opening a terminal (Terminal.app is installed on all macs) and pasting this (assuming you have moved TiddlyDesktop.app to your Applications directory):

sudo xattr -dr com.apple.quarantine /Applications/TiddlyDesktop.app

This will require you to enter your password, then press enter, and then it will work if you go right click -> open. This is not a fix for the underlying problem, but at least a workaround for the users.

What is happening is that you are running xattr (as root) to delete recursively the extended attribute com.apple.quarantine from all files in the TiddlyDesktop.app directory.

hth
tostr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants