question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invalid Provisioning Profile error when uploading Mas Build

See original GitHub issue
  • 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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:24

github_iconTop GitHub Comments

6reactions
ahmadwaliesipickcommented, Oct 7, 2020

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

6reactions
johannesjocommented, Oct 4, 2020

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 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't upload to AppStore - Invalid Provisioning Signature
You go to https://developer.apple.com/account/resources/profiles/list, choose your provision, then click edit (no need change anything), save and download it.
Read more >
Invalid Provisioning Profile Signature - xcode - Stack Overflow
The issue was caused by two expired Apple certificates1. Solution is to. Go to Certificates, Identifiers & Profiles; Open the provision ...
Read more >
Common code signing issues - fastlane docs
Code Sign error: No matching provisioning profiles found: No provisioning profiles with a valid signing identity (i.e. certificate and private key pair) ...
Read more >
Common iOS issues - Codemagic Docs
The uploaded certificate is in a wrong format or corrupt · The uploaded certificate and provisioning profile do not match · Missing entitlements ......
Read more >
Issues after loading ipa to App Store Connect - Pierre-Marie Baty
It seems, that build sings by provision file with incorrect content. I tried to solve this problem by recreating provision files (https:// ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found