Closed MartinBarker closed 3 weeks ago
Are you able to reproduce this on earlier versions of electron-builder? This line confuses me in particular as I don't recognize that error from anything before
Failed to parse entitlements: AMFIUnserializeXML: syntax error near line 1
Are you able to reproduce this on earlier versions of electron-builder? This line confuses me in particular as I don't recognize that error from anything before
Failed to parse entitlements: AMFIUnserializeXML: syntax error near line 1
I was getting this same error / log output using electron-builder "electron-builder": "^22.10.5",
. I updated to the most recent version in hopes it would fix it but no luck.
The important error text I think is:
Asset validation failed (90284) Invalid Code Signing. The executable must be signed with the certificate that is contained in the provisioning profile. (ID: abc-abc-abc-abc-abc)
Plus line 1 of all the entitlements xml files are valid xml such as this:
<?xml version="1.0" encoding="UTF-8"?>
Hmmm if that's the case, then I doubt this is a widespread issue with electron-builder. Can you try re-exporting your certificate and provisioning profile via Xcode?
I've been trying to re-export my provisioning profile with xcode but don't think I've done it successfully just yet. First attempt I tried was by doing these steps:
~/Library/MobileDevices/
asdasdasd-asdasd-adasd-adasdasd-adsadasdasd.provisionprofile
embedded.provisionprofile
, dropped into my project, reran npm run build-mas
Is there a different way to export my provisioning profile with Xcode? The other method I found ( see 3. in below image ) I have not gotten working yet, but seems promising, going to keep torubleshooting this xcode page a little more
It appears as if notarization is not skipped anymore. The notarize
flag is also ignored when setting it to false
.
@idoodler please open a separate issue for that and tag me in it, ill investigate it this week
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.
This issue was closed because it has been stalled for 30 days with no activity.
Hello, I am trying to build and sign a new version of my electron app for the mac apple store (mas), but when I get to the final step of uploading the
RenderTune.pkg
file to the mac transporter app, I get a failed status with 22 errors all the same formatting like so:In order to build and sign this
RenderTune.pkg
file, first I run the commandnpm run build-mas
locally while on branchv1.1.5
( code here )Which runs the following command:
So first it runs
electron-builder build --mac
and gives this output:Completes without issue. The next part is running the
signmasscript.sh
file, which does complete but gives these errors:The final output
RenderTune.pkg
file gives 22 error messages saying `` when I try to deliver it via the mac os transport app.Is my app even being signed correctly? Or is there just one file that I need to fix? Please help me out !