Skip to content

feat: add support for individual API keys (Xcode 26 supported feature) #246

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Armster15
Copy link

Xcode 26 supports using an individual API key for notarization. The only difference is that when using an individual API key, you mustn't include the issuer ID, or else it will throw a 401 error. This library currently requires that --issuer-id be passed, so I've changed it so it's an optional parameter. I've also updated the README + JSDocs to document this.

Of course you're probably wanting an authoritative source for this, and that would be the man pages for notarytool.

Here is the man page when using Xcode 16:
Screenshot 2025-06-21 at 01 48 52

Here is the man page when using Xcode 26:
Screenshot 2025-06-21 at 01 49 25

For the sake of documenting explicitly: you can change what version of the Command Line Tools you're using (so you can see the different man pages) in the Xcode preferences:
Screenshot 2025-06-21 at 01 51 18

I've also attached a video where I attempt to sign an executable with an individual API key on both Xcode 16 and 26 (you'll see 16 fails but it works with 26):

Screenshot.2025-06-21.at.02.10.21.mp4

@Armster15 Armster15 requested a review from a team as a code owner June 21, 2025 09:14
@erickzhao erickzhao changed the title Add support for individual API keys (Xcode 26 supported feature) feat: add support for individual API keys (Xcode 26 supported feature) Jun 23, 2025
@erickzhao erickzhao self-requested a review July 8, 2025 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant