Windows系统下pycharm打包成mac-App应用程序

Windows系统下pycharm打包成mac-App应用程序

由于涉及到跨平台编译,这个任务很难实现,python的相关打包库,pyinstaller,cx_freeze,py2app,都不支持跨平台编译。可尝试在windows下虚拟机安装macos系统,然后在此系统中运行py2app包,但是可否成功没有验证。看一下这个问题贴的解答:
macos - How to create OS X app with Python on Windows - Stack Overflow I need to automate a cross-platform application build. Entire build runs on Windows machine. Part of it is written in Python and compiles for OS X. Currently this part of build is done manually on ... https://stackoverflow.com/questions/34772216/how-to-create-os-x-app-with-python-on-windows