You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Electron-builder: 21.2.0 (also tried with 20.43.0)
Electron-updater (no using)
node: 12.0.0
macOs: 10.15.3
Target: mas (also tried mas-dev)
Hello! I know there is a similar issue, 1196, but I saw it is closed, please let me know If I need to post there.
We tried to publish our Electron app in the App Store, but we are getting this Apple rejection:
So, now we try to build, sign, notarize and test the app locally before submit to the App Store for review. We are struggling with this for a week, I hope to get your help.
Reading issue 1996 and this post, this for notarization, we configured our package.json as see below:
We also tried without the entitlements and provisioningProfile attributes in the "mas" key. So, we sign the app with the Mac Developer cert and a development provisionprofile (from our apple developer account). In the dev.provisionprofile also we added the device on which we want to test the app.
We also configured CSC_LINK and CSC_KEY_PASSWORD variables. The .p12 file contains the following certs:
Mac Developer: XXXX (XXXX)
3rd Party Mac Developer Installer: myCompany (XXXXX)
3rd Party Mac Developer Application: myCompany (XXXXX)
Developer ID Application: myCompany (XXXXX)
All of them are available in my machine, I checked with security find-identity -v. We won't publish the app outside the App Store.
We are not sure if we have to sign and notarize the app to test locally or only it's necessary to sign the app. So we tried both.
When we run electron-builder build -m without the notarization script (no afterSign attribute) we got the following in the terminal:
I don't know why my app is being signed twice. Is this an expected behavior?
There are no errors, but when try to open the dist/mas/myApp.app the app failed on launch.
If we sign with the notarization script, we got the following and the notarization process fails:
Hello! I know there is a similar issue, 1196, but I saw it is closed, please let me know If I need to post there.
We tried to publish our Electron app in the App Store, but we are getting this Apple rejection:
So, now we try to build, sign, notarize and test the app locally before submit to the App Store for review. We are struggling with this for a week, I hope to get your help.
Reading issue 1996 and this post, this for notarization, we configured our package.json as see below:
We also tried without the entitlements and provisioningProfile attributes in the "mas" key. So, we sign the app with the Mac Developer cert and a development provisionprofile (from our apple developer account). In the dev.provisionprofile also we added the device on which we want to test the app.
We also configured CSC_LINK and CSC_KEY_PASSWORD variables. The .p12 file contains the following certs:
All of them are available in my machine, I checked with
security find-identity -v
. We won't publish the app outside the App Store.entitlements.mas.plist
We are not sure if we have to sign and notarize the app to test locally or only it's necessary to sign the app. So we tried both.
When we run
electron-builder build -m
without the notarization script (no afterSign attribute) we got the following in the terminal:I don't know why my app is being signed twice. Is this an expected behavior?
There are no errors, but when try to open the dist/mas/myApp.app the app failed on launch.
If we sign with the notarization script, we got the following and the notarization process fails:
The log link at the end of the notarization process shows:
I hope some of you can guide me to the correct direction because we already tried different things but still no progress.
Thank you in advance!
The text was updated successfully, but these errors were encountered: