forge icon indicating copy to clipboard operation
forge copied to clipboard

Hangs when packaging macOS apps on Windows hosts

Open Vantablack3301 opened this issue 5 years ago • 2 comments

I've tried this with two different mac packagers. one for mas and the other for Darwin. yet for whatever reason whenever i try to package the project it installs the mac dependencies and then gets stuck on preparing to package application for arch: x64. the command in question I am using is electron-forge package --platform=darwin. when I packaged for windows it worked surprisingly quickly and the packaged build was functional. but when I do the same for Darwin or mas it gets stuck with a log looking like this √ Checking your system Downloading electron-v11.1.1-darwin-x64.zip: [=================================================] 100% ETA: 0.0 seconds / Preparing to Package Application for arch: x64 any idea what's going on?

Vantablack3301 avatar Jan 05 '21 18:01 Vantablack3301

Same issue here

MartinSchere avatar Jun 01 '21 12:06 MartinSchere

There seems to be an issue on Windows, although it's not showing up when using Electron Packager directly. Not sure when I'll get to this but the workaround is to use WSL2 or a Linux VM for building macOS (darwin/mas) apps.

malept avatar Jun 02 '21 17:06 malept