I'm getting an error trying to use Application Loader to upload a packaged electron app.
I use electron-packager to package the app with the mas (Mac App Store) platform. I then zipped up the output directory. When I try I to select this .zip file with Application Loader, it gives me this error.
You need to pack you .app
file into a signed .pkg
, which you can upload using Application Loader
.
Use the following command to create a signed .pkg
file:
productbuild --component YOURAPPNAME.app/ /Applications --sign "3rd Party Mac Developer Installer: YOURCOMPANYNAME (YOURTEAMID)" --product YOURAPPNAME.app/Contents/Info.plist YOURAPPNAME.pkg
For this to work, you'll need a Mac Installer Certificate, which you can generate from the Apple Developer website. When creating the certificate choose Mac App Store
and then Mac Installer Distribution
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With