pyinstaller build for mac on windows code example
Example: pyinstaller how to use mac
$ pyinstaller --onefile --windowed --icon icon.icns --name testApp main.py
$ pyinstaller --onefile --windowed --icon icon.icns --name testApp main.py