-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notarization for arm64 version of app fails randomly but succeeds on retry #219
Comments
Hey @praneetloke, thanks for the report. Does this also repro with a basic repo? Also could you include the version of notarize that you're using? |
@VerteDinde just to add to this, I'm also having a very similar issue. The error output is identical to the one reported, but in my case, the problematic architecture is x86, arm64 notarizes fine. The notarization had been working fine for a long time but suddenly it stopped working, but I couldn't figure out exactly when it happened because the last build was from a couple months ago, so no logs for that. Thought it could be related to GitHub upgrading their I'm running the latest version of notarize: |
Hello @VerteDinde, thank you for your response.
Unfortunately, I do not know if that's the case since the failure is sporadic right now. I might have an entire day of zero failures.
I use To add additional context, my CI, like @fempyrean, also runs on GH actions. I use These failures started about two months ago with version
About three weeks ago, I updated to |
I'm having this issue also, and came across this reference: actions/runner-images#9811 I've added this step to the action I'm using, and running it a few times to see if it stabilizes:
- name: xcode-select
if: matrix.os == 'macos-latest'
run: sudo xcode-select -s /Library/Developer/CommandLineTools edit: womp womp.
final edit: I think @praneetloke's suspicion about the xcrun crash is spot on. i found some other references yesterday that suggested changing back to macos-13 in the action runner, and I did that. The process is stable now, so I'm leaving it at that and moving on. |
That's a great idea! Also I took a look at GH's hosted runners and their |
Same thing just happened here on macos latest: https://github.com/mifi/lossless-cut/actions/runs/12211950166/job/34069829185 |
@mifi it looks like you are using electron-builder, it supports cross-platform compilation for arm64 on Intel-based macOS. However, if this was the first time you've seen a problem, you might want to check if you've got a pending Apple terms agreement waiting to be accepted in your Apple Developer Account. (I got one yesterday that I accepted.) If you've already accepted that, it would be helpful if you could observe your builds for a few days at least to see how often it fails with |
That seems like it might have been the problem. I also got pending terms/agreements that day. Now it seems to be succeeding. Will keep a look at the job going forward |
I have an Electron app that is built and notarized using electron-builder. Notarization for the
arm64
version of the app fails randomly without any additional information. The only log I have is this:There is no other information about the failure. In a successful execution, the exit code is 0 which is expected. I have set
DEBUG=electron-notarize*
as per the README in this repo but it doesn't seem to help with emitting any additional information about the failure. Any help/tips on diagnosing this would be appreciated.The text was updated successfully, but these errors were encountered: