asc-notarization
Archive, export, and notarize macOS apps using xcodebuild and asc.
Skill by rorkai
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/rorkai-asc-notarization
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/asc-notarization
What's inside
- Skill name
asc-notarization- Description
- Archive, export, and notarize macOS apps using xcodebuild and asc. Use when you need to prepare a macOS app for distribution outside the App Store with Developer ID signing and Apple notarization.
- License
- MIT
- Instructions
- 205 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
# macOS Notarization
Use this skill when you need to notarize a macOS app for distribution outside the App Store.
## Preconditions
- Xcode installed and command line tools configured.
- Auth is configured (`asc auth login` or `ASC_*` env vars).
- A Developer ID Application certificate in the local keychain.
- The app's Xcode project builds for macOS.
## Preflight: Verify Signing Identity
Before archiving, confirm a valid Developer ID Application identity exists:
```bash
security find-identity -v -p codesigning | grep "Developer ID Application"
```
If no identity is found, create one at https://developer.apple.com/account/resources/certificates/add (the App Store Connect API does not support creating Developer ID certificates).
### Inspect Trust Settings
If `codesign` or `xcodebuild` fails with "Invalid trust settings" or "errSecInternalComponent", the certificate may have custom trust overrides that break the chain:
```bash
# Check for custom trust settings
security dump-trust-settings 2>&1 | grep -A1 "Developer ID"
```
These errors do not by themselves prove a trust override is the cause. Inspect the affected certificate before proposing a repair. Changing trust settings requires explicit authorization for that certificate; do not remove trust overrides or re-sign an arbitrary app as a diagnostic step.
## Step 1: Archive
```bash
xcodebuild archive \
-scheme "YourMacScheme" \
-configuration Release \
-archivePath /tmp/YourApp.xcarchive \
-destination "generic/platform=macOS"
```
## Step 2: Export with Developer ID
Create an ExportOptions plist for Developer ID distribution:
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>method</key>
<string>developer-id</string>
<key>signingStyle</key>
<string>automatic</string>
<key>teamID</key>
<string>YOUR_TEAM_ID</string>
</dict>
</plist>
```
Export the archive:
```bash
xcodebuild -exportArchive \
-archivePath /tmp/YourApp.xcarchive \
-exportPath /tmp/YourAppExport \
-exportOptionsPlist ExportOptions.plist
```
This produces a `.app` bundle signed with Developer ID Application and a secure timestamp.
### Verify the Export
Verify the exported app's existing signature and nested code, then display its signing details:
```bash
codesign --verify --deep --strict --verbose=2 "/tmp/YourAppExport/YourApp.app" && \
codesign --display --verbose=4 "/tmp/YourAppExport/YourApp.app" 2>&1
```
Confirm:
- The verification command exits successfully; displaying signing details alone does not validate the signature
- The Authority chain is Developer ID Application → Developer ID Certification Authority → Apple Root CA, with the expected TeamIdentifier
- A Timestamp is present
Stop before packaging or uploading if verification fails or the signing identity is unexpected. Diagnose the failure and rebuild or re-export the intended app before checking again. These checks do not modify the bundle and do not establish notarization acceptance.
Do not add `--sign` or `--force` to verification. [Apple's code-signing guidance](https://developer.apple.com/library/archive/technotes/tn2206/) distinguishes recursive verification with `--deep` from signing with `--deep --force`, which forcibly re-signs nested code.
## Step 3: Create a ZIP for Notarization
```bash
ditto -c -k --keepParent "/tmp/YourAppExport/YourApp.app" "/tmp/YourAppExport/YourApp.zip"
```
## Step 4: Submit for Notarization
### Fire-and-forget
```bash
asc notarization submit --file "/tmp/YourAppExport/YourApp.zip"
```
### Wait for result
```bash
asc notarization submit --file "/tmp/YourAppExport/YourApp.zip" --wait
```
### Custom polling
```bash
asc notarization submit --file "/tmp/YourAppExport/YourApp.zip" --wait --poll-interval 30s --timeout 1h
```
## Step 5: Check Results
### Status
```bash
asc notarization status --id "SUBMISSION_ID" --output table
```From rorkai/app-store-connect-cli-skills, MIT.
More from rorkai/app-store-connect-cli-skills
- 0.827score
asc-submission-health
rorkai
Diagnose App Store submission blockers and operate review health with asc, including readiness validation, repair routing, status monitoring, cancellation…
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.827score
asc-xcode-build
rorkai
Build, archive, export, and manage Xcode version/build numbers with asc, including portable iOS compilation and packaging.
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.827score
asc-release-flow
rorkai
Orchestrate App Store releases with asc, including staging a version, uploading or building an artifact, publishing, and submitting for review.
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.827score
asc-metadata-sync
rorkai
Sync, validate, and apply App Store metadata and store assets with asc.
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.821score
asc-crash-triage
rorkai
Triage TestFlight crashes, beta feedback, and performance diagnostics using asc.
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.821score
asc-id-resolver
rorkai
Resolve App Store Connect IDs (apps, builds, app and digital-goods versions, groups, testers) from human-friendly names using asc.
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.821score
asc-in-app-events
rorkai
Create and localize App Store in-app events, upload event media, and submit or recover event review submissions with asc.
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.821score
asc-shots-pipeline
rorkai
Orchestrate iOS screenshot automation with xcodebuild/simctl for build-run, AXe for UI actions, JSON settings and plan files, Koubou-based framing (`asc…
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.821score
asc-subscription-localization
rorkai
Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2…
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.821score
asc-cli-usage
rorkai
Guidance for using asc cli in this repo (flags, output formats, pagination, auth, and discovery).
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.818score
asc-workflow
rorkai
Define, validate, run, resume, and audit repo-local multi-step automations with current `asc workflow` and `.asc/workflow.json`, including step outputs and…
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.778score
asc-aso-audit
rorkai
Run an offline ASO audit on canonical App Store metadata under `./metadata` and surface keyword gaps using Astro MCP.
SkillBFreshness: B★ 1.1KClaude Code +9
Signals
- Stars
- 1,100
- Forks
- 67
- Open issues
- 0
- Last commit (this folder)
- Sep 6, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Website
- asccli.sh
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from rorkai
- 0.827score
asc-xcode-build
rorkai
Build, archive, export, and manage Xcode version/build numbers with asc, including portable iOS compilation and packaging.
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.827score
asc-submission-health
rorkai
Diagnose App Store submission blockers and operate review health with asc, including readiness validation, repair routing, status monitoring, cancellation…
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.827score
asc-metadata-sync
rorkai
Sync, validate, and apply App Store metadata and store assets with asc.
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.827score
asc-release-flow
rorkai
Orchestrate App Store releases with asc, including staging a version, uploading or building an artifact, publishing, and submitting for review.
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.821score
asc-shots-pipeline
rorkai
Orchestrate iOS screenshot automation with xcodebuild/simctl for build-run, AXe for UI actions, JSON settings and plan files, Koubou-based framing (`asc…
SkillAFreshness: A★ 1.1KClaude Code +9 - 0.821score
asc-subscription-localization
rorkai
Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2…
SkillAFreshness: A★ 1.1KClaude Code +9
Cite this page
asc-notarization skill. Agent Mart. https://agentmart.dev/skills/rorkai-asc-notarization (last updated 2026-10-24)