ronaldoussoren / py2app

py2app is a Python setuptools command which will allow you to make standalone Mac OS X application bundles and plugins from Python scripts.
Other
341 stars 36 forks source link

Problem about .app file compiled with py2app in High Sierra #240

Open ronaldoussoren opened 6 years ago

ronaldoussoren commented 6 years ago

Original report by alex (Bitbucket: alexwoo, GitHub: alexwoo).


My scripts compiled with py2app in OS X 10.13. The app works fine in 10.13 but cannot run in older version(such as OS X 10.10/10.11). The warning show me "requires OS X 10.13 or later". This told me that it should be ok that building in 10.12 and deploying in older version. How to compiled the code with my OS X 10.13 to make sure it can running in older machines?

ronaldoussoren commented 6 years ago

Original comment by Ronald Oussoren (Bitbucket: ronaldoussoren, GitHub: ronaldoussoren).


What python version do you use and how was it installed?

On macOS code is compiled for a specific deployment target and afaik this defaults to the current version of macOS on anything vaguely recent. One result of that is that binaries from macports and homebrew usually don’t work on older releases of the os.

-- On the road, hence brief.