The assembled Python application does not launch

25 Views Asked by At

I built the application via Pyinstaller, added all the necessary folders to build the application, gave access to use third-party programs not from the App Store, added the required bin folder to PATH, disabled Gatekeeper, but nothing helped. It can only be launched through “Show package contents” - “Contents” - “MacOs” and there is a console application through which my application is launched. Why won't the .app launch? This is how I assembled the application through the terminal: python3 -m PyInstaller --noconfirm --onedir --windowed --icon "/Users/s.p/Downloads/CustomTkinter_logo_single.ico" --add-data "/Users/s.p/Documents/programming/bg_gradient.jpg:." --add-data "/Users/s.p/Documents/logo_int.png:." --add-data "/Users/s.p/Library/Python/3.11/lib/python/site-packages/customtkinter:customtkinter/" "/Users/s.p/Documents/programming/My App 1.py"

Added all the necessary folders to build the application, gave access to use third-party programs not from the App Store, added the required bin folder to PATH, disabled Gatekeeper, but nothing helped.

0

There are 0 best solutions below