electron-builder: Invalid Provisioning Profile error when uploading Mas Build

  • Version: 22.7.0
  • Electron Version: 9.0.4
  • Target: Mac OS

When uploading to the store I get the following error:

*** Error: Errors uploading 'app-builds/mas/superProductivity-5.4.0.pkg': (
    "Error Domain=ITunesTransporterErrorDomain Code=-18000 \"ERROR ITMS-90283: \"Invalid Provisioning Profile. 
The provisioning profile included in the bundle com.super-productivity.app [com.super-productivity.app.pkg/Payload/superProductivity.app] is invalid. [Missing code-signing certificate.] For more information, visit the macOS Developer Portal.

The other logs look fine to me:

  • electron-builder  version=22.7.0 os=18.7.0
  • loaded configuration  file=/Users/johannesmillan/IdeaProjects/super-productivity/build/electron-builder.mas.yaml
  • writing effective config  file=app-builds/builder-effective-config.yaml
  • packaging       platform=mas arch=x64 electron=9.0.4 appOutDir=app-builds/mas
  • signing         file=app-builds/mas/superProductivity.app identityName=Developer ID Application: Johannes (16ADSK323) identityHash=D10278B411682SAAF9EF54D9F8896ASD153D3384 provisioningProfile=none
  • signing         file=app-builds/mas/superProductivity.app identityName=3rd Party Mac Developer Application: Johannes (16ADSK323) identityHash=B55EC8C3FB70ASDCDA32FD80490F485D2D509A71E provisioningProfile=embedded.provisionprofile
✨  Done in 49.84s.

I am pretty sure that the certificates and embedded profiles are correctly configured. I tried the process with several fresh combos of certificate and profile. Any clues what might be causing this?

The config can be found here: https://github.com/johannesjo/super-productivity/blob/master/build/electron-builder.mas.yaml

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 5
  • Comments: 25

Most upvoted comments

I had success with it! Which is truley amazing after 2 years of trying to get this dam thing deployed to the mac store. Let’s see what the next obstacle will be 😃

@johannesjo I am able to resolved the build sign issues and uploaded build to Apple Store. Soon app will be available at apple store. 😃

Same issue. The 2-nd day trying to solve it.

Can confirm after upgrading my device to macOS 10.15.6

Sent from my iPhone

On Sep 27, 2020, at 11:12 PM, Johannes Millan notifications@github.com wrote:

This is still relevant. Just tested it again. Same error.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

At least for me the issue was caused by the comment above. You find all related code and configuration here: https://github.com/johannesjo/super-productivity