Hello,
I'm a beginner at creating apps with Python. I'm trying to package a script into a .dmg file using Py2App.
When I run python3 setup.py py2app -A I get an app in the dist folder. When I unpack the app file, I can launch the app it via the terminal.
However running the line above also gives me the following errors:
.DS_Store files cannot be a symlink
RuntimeError: Cannot sign bundle
If I just run python3 setup.py py2app, the terminal will say that the bundle was created successfully. But when I launch the app, I get the following
Termination Reason: Namespace CODESIGNING, Code 2
Codesigning is a concept I'm not familiar with. I googled online and even tried the following to codesign my app with no success
codesign --force --deep --sign - main.app
main.app: main executable failed strict validation (resulting error)
I'd appreciate any input I could get. Really not sure how to proceed from here.