Closed Devine-Davies closed 2 months ago
Hello again 👋
After thorough research and numerous trials and errors, I was able to resolve the issues mentioned above. When enabling the electron-builder notarization config option, I believe it sends the .app file for notarization first, and then this gets bundled inside the .pkg file. Initially, I was only notarizing the .pkg separately after the Electron build was completed.
Closing this issue. Happy Coding.
Help Request: Publishing to App Store
Hey community 👋
I am trying to summit an electron build to the Mac App Store. And while all was going good and was able to get my App into TestFlight, upon installing the app and running the app Apple return the flowing error:
I believe this is due to the app not being notarize beforehand. After researching online i see that there seem to be mix understandings around whether apps submitted to the App Store need to be notarize. Although i couldn’t find anywhere that clearly states this, i was more under the impression that this was required due to the error message and apples docs on notarizing ‘.pkg’ files.
When running electron-build with the following configuration
It produces 2 .pkg files
The certificates i am using to sign these files are the following i have replaced names with ‘xxxxx’
Upon inspecting the signed certificates for each of the files i get the following:
PKG ONE: release/App-1.1.9-mac.pkg
PKG TWO: release/mas-universal/App-1.1.9-mac.pkg
It seems that i am able to get Transporter or Notarization to succeed but not both using the same PKG file. Am i going mad and this is not a requirement or should this be possible in order to resolve the error message listed above. If anyone have any experience with submitting electron builds to the Mac App Store that would be able to off some advise or guidance on this matter would be much appreciated.
The results of both Transporter and Notarization are listed below for each PKG file.
PKG ONE:
PKG TWO
Environment Dependencies
Cheers. 👍