Closed BlessedChild closed 1 year ago
try create a folder calledicon.iconset
, and then apply sips
and iconutil
commands.
Hey @BlessedChild. For your icon error:
ERROR ITMS-90236: The application bundle does not contain an icon in ICNS format, containing both a 512x512 and a 512x512@2x image.
You don't seem to have a @2x
icon file in the icon
path. In order to make this work, you would want to exclude your icon extension.
See: https://www.electronforge.io/guides/create-and-add-icons#supporting-higher-pixel-densities
Aside 1: Not sure why your config is duplicated between the PKG maker and the Packager config.
Aside 2: there was a breaking change of the macOS code signing library in Forge v6.0.0-beta.68 that changes a bunch of configuration options. It also comes with defaults that should work out of the box. This might solve your other issues if your info.plist
isn't working.
Pre-flight checklist
Electron Forge version
6.0.0-beta.63
Electron version
v17.1.0
Operating system
12.3 Beta(21E5212f)
Last known working Electron Forge version
No response
Expected behavior
Electron's Mac App Store Submission Guide should be accurate and up to date, I hope I can successfully submit our Electron app to the AppleStore.
Actual behavior
I was trying to submit our Electron app to the Mac App Store and ran into a multitude of issues. At the very least, I was hoping that the official guide would work (https://www.electronjs.org/docs/latest/tutorial/mac-app-store-submission-guide) but found it slightly a little incomplete.
The guide talks about building a MAS version of the app, which you can do using Electron Forge or Electron Builder, but Transporter requires a .pkg file. I was able to get a MAS app packaged as a .pkg using Electron Forge's @electron-forge/maker-pkg maker and this command: electron-forge make --targets='@electron-forge/maker-pkg' --platform=mas. Transporter found several problems when submitting.
Unfortunately, I spent more than 15 hours to reading all the official documents and the community, but still didn't find a proper solution.
Steps to reproduce
From Apple Transporter:
Additional information
No response