Electron-builder: Cannot build for mac on windows.

Created on 16 Aug 2018  路  3Comments  路  Source: electron-userland/electron-builder


  • Version:
    20.22.0

    3.0.3
  • Target:
    Mac


    OS: windows
    I want to building for mac.
    cli yarn release --linux --win,building package is ok
    but cli yarn release --mac , terminal log this Build for macOS is supported only on macOS, please see https://electron.build/multi-platform-build ,why is that?
mac question

Most helpful comment

Not the maintainer, but my own reading between the lines follows.

Code signing of mac applications can only be done on mac, and macOS licensing terms limit virtualization of macOS to apple hardware only so it's unlikely that many users are building against virtualized macOS environments from a Windows host.

All 3 comments

Not the maintainer, but my own reading between the lines follows.

Code signing of mac applications can only be done on mac, and macOS licensing terms limit virtualization of macOS to apple hardware only so it's unlikely that many users are building against virtualized macOS environments from a Windows host.

It's explained clearly in the docs that this is not possible due to restrictions from Apple. This is not going to be fixed.

Duplicates #2359

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AidanNichol picture AidanNichol  路  3Comments

omarkilani picture omarkilani  路  3Comments

StickNitro picture StickNitro  路  3Comments

iklemm picture iklemm  路  3Comments

jhg picture jhg  路  3Comments