-
-
Notifications
You must be signed in to change notification settings - Fork 241
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
xyz.app is damaged and can not be opened #1450
Comments
Hi @TommySlokky, is it possible that I get a sample to test? You can send it to info@keka.io I had similar issues where the problem was a file in the app bundle with some special characters that can get extracted with a similar but not equal name and thus the signature of the app fails to be verified. |
@TommySlokky I'm testing the file now.
I can't reproduce what you said here. No matter how I extract the file it always fails to execute properly. The compression data vs the app signature do not match. The issue is with those three files. Probably an encoding issue or something similar. I suggest you manually recreate those files and compile the app again. codesign --verify --deep --strict --verbose=2 mac-techseo360-files/TechSEO360.app
/Users/aone/Downloads/mac-techseo360-files/TechSEO360.app: a sealed resource is missing or invalid
file modified: /Users/aone/Downloads/mac-techseo360-files/TechSEO360.app/Contents/Resources/trans/en-us/UTF8_shared.ini
file modified: /Users/aone/Downloads/mac-techseo360-files/TechSEO360.app/Contents/Resources/trans/en-us/UTF8_general.ini
file modified: /Users/aone/Downloads/mac-techseo360-files/TechSEO360.app/Contents/Resources/trans/en-us/UTF8_program.ini |
As noted in the email, when I too download it also always fails no matter what tool which was why I was somewhat resignated in the email and wrote I would email again when I had figured that part out. I very much appreciate your comments and help. The odd thing is those files are only changed infrequently of course except the moving them from my Windows machine to Mac machine which is done by a script. (TechSEO360 uses Delphi for Windows and Lazarus for MacOS.) And they are never modified during the build process. (i.e. codesign, notarize, stable, zip.) But thanks to you your help I am hopefully a step closer. Thank you very much. I will return over email if I come close to the reason. |
Configuration
I have a codesigned app. I zip it using Info-Zip commandline.
If I unzip using same commandline OR using builtin macos "Archive Utility" my app works.
But if Keka unzips it, then opening the app gives error:
"xyz.app is damaged and can't be opended. You should move it to Bin.
Keka created this file on an unknown date."
Is there any way to solve this from my side? Or is this a Keka bug? Let me know if you need more information.
The text was updated successfully, but these errors were encountered: