How to Distribute PyInstaller macOS App via .zip or .dmg Without “Damaged” or “Not Opened” Error?
#9130
-
|
Hi everyone, I'm using PyInstaller to bundle my macOS app and I want to distribute it to users outside the Mac App Store and without signing it. Initially, I zipped the
After reading this GitHub issue, I learned that
In both cases, the only thing that made the app work was running: xattr -rd com.apple.quarantine "OCR to Excel Converter.app"My Questions:
Any insights, tools, or best practices are appreciated! Thanks 🙏 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
I take it you have verified that your packaging method (either .zip or .dmg) is properly preserving the symbolic links in the .app bundle?
I think in general, if you want to avoid Apple harassing your users with warnings, you will need to bite the bullet and sign the .app bundle. If there was a user-friendly work-around for that, you can be pretty sure they would "fix" it pretty quickly for the obvious reasons... |
Beta Was this translation helpful? Give feedback.
I take it you have verified that your packaging method (either .zip or .dmg) is properly preserving the symbolic links in the .app bundle?
I think in general, if you want to avoid Apple harassing your users with warnings, you will need to bite the bullet and sign the .app bundle. If there was a user-friendly work-around for that, you can be pretty sure they would "fix" it pretty quickly for the obvious reasons...