asc-ad-hoc-distribution
Skill1.1k starsChanged 4 months agoMITView on GitHub
Prepare, publish, resume, and verify private iOS release-testing installs with asc distribute. Use when distributing an IPA to registered devices outside TestFlight, reconciling ad hoc profiles, publishing through caller-owned S3-compatible storage, or diagnosing a resumable private distribution run.
Trending
Quiet since October.thin dataabout the whole repository
Who's talking about rorkai/app-store-connect-cli-skills
- sudosubin/agents.nix“agent-skills.github.rorkai.app-store-connect-cli-skills: 0-unstable-2026-09-14 → 0-unstable-2026-10-05”GitHub · Oct 5, 2026
- sudosubin/agents.nix“claude-code-plugins.github.rorkai.app-store-connect-cli-skills: init at 0-unstable-2026-09-14”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.rorkai.app-store-connect-cli-skills: init at 0-unstable-2026-09-14”GitHub · Oct 1, 2026
- ShawnBaek/ai-workflow-apple-platform-engineer“fix(release-qa-handoff): route publication through app-store-connect and confirm tracker writes”GitHub · Sep 26, 2026
- rorkai/App-Store-Connect-CLI“fix(web): renew request deadlines after interactive authentication”GitHub · Sep 8, 2026
The biggest 5 of 7 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 7
Talked about on GitHub (7 times).
On GitHub · 7
- Oct 5, 2026agent-skills.github.rorkai.app-store-connect-cli-skills: 0-unstable-2026-09-14 → 0-unstable-2026-10-05 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-plugins.github.rorkai.app-store-connect-cli-skills: init at 0-unstable-2026-09-14 — sudosubin/agents.nix0 reactions
- Oct 1, 2026agent-skills.github.rorkai.app-store-connect-cli-skills: init at 0-unstable-2026-09-14 — sudosubin/agents.nix0 reactions
- Sep 26, 2026fix(release-qa-handoff): route publication through app-store-connect and confirm tracker writes — ShawnBaek/ai-workflow-apple-platform-engineer0 reactions
- Sep 8, 2026fix(web): renew request deadlines after interactive authentication — rorkai/App-Store-Connect-CLI0 reactions
2 more on GitHub
- Jul 7, 2026Review followup: PR #26755 — GH#26753: docs: adopt app store connect skill refresh — marcusquinn/aidevops0 reactions · 2 comments
- Jul 7, 2026quality-debt: .agents/tools/mobile/app-store-connect.md — PR #26755 review feedback (medium) — marcusquinn/aidevops0 reactions · 3 comments
In this repository24 other files it gives its agents.
- asc-analytics-reportsSkill
- asc-app-create-uiSkill
- asc-apple-adsSkill
- asc-aso-auditSkill
- asc-build-lifecycleSkill
- asc-cli-usageSkill
- asc-crash-triageSkill
- asc-id-resolverSkill
- asc-localize-metadataSkill
- asc-metadata-syncSkill
- asc-notarizationSkill
- asc-ppp-pricingSkill
- asc-release-flowSkill
- asc-revenuecat-catalog-syncSkill
- asc-screenshot-resizeSkill
- asc-shots-pipelineSkill
- asc-signing-setupSkill
- asc-submission-healthSkill
- asc-subscription-localizationSkill
- asc-testflight-orchestrationSkill
- asc-wall-submitSkill
- asc-whats-new-writerSkill
- asc-workflowSkill
- asc-xcode-buildSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 2 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use the experimental asc distribute workflow to turn an existing iOS archive into a private, verified install link for registered devices.
- Very specific: line 26
Use plan -> apply -> resume/status -> verify for an end-to-end, hash-authorized run starting from an .xcarchive.
- Very specific: line 28
Use inspect -> prepare -> publish only when the caller already owns the ad hoc IPA and wants to operate the lower-level boundaries …
- Distinctive: line 33
Treat the distribution spec, devices file, PKCS#12 identity, password file, run state, and exact install-link artifact as private.
- Very specific: line 36
Never put S3 credentials or presigned URLs in the distribution spec, command output, logs, issues, or chat.
- Distinctive: line 130
After approval of the exact effects, pass the full 64-character hash:
- Very specific: line 146
Use the returned runId:
- Very specific: line 167
Use this lane when signing and export are already complete.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ASC ad hoc distribution
Use the experimental asc distribute workflow to turn an existing iOS archive
into a private, verified install link for registered devices. Use TestFlight or
the App Store release skills instead when the build should go through Apple-hosted
distribution.
Confirm the installed contract before acting:
asc distribute --help
asc distribute plan --help
asc distribute apply --help
asc distribute resume --help
asc distribute status --help
asc distribute verify --helpChoose the workflow
- Use
plan->apply->resume/status->verifyfor an end-to-end, hash-authorized run starting from an.xcarchive. - Use
inspect->prepare->publishonly when the caller already owns the ad hoc IPA and wants to operate the lower-level boundaries separately.
Guardrails
- Treat the distribution spec, devices file, PKCS#12 identity, password file, run state, and exact install-link artifact as private. Keep them out of Git and require owner-only permissions.
- Never put S3 credentials or presigned URLs in the distribution spec, command
output, logs, issues, or chat. Use
ASC_S3_ACCESS_KEY_ID,ASC_S3_SECRET_ACCESS_KEY, and optionalASC_S3_SESSION_TOKEN, or the standard AWS SDK credential chain. planis read-only and may exit successfully withready: false. Inspect the typed blockers and effects before continuing.applycan register missing devices, create safe App IDs and successor ad hoc profiles, write local artifacts, and publish immutable objects. Run it only after the user authorizes the exact plan hash and effect inventory.- The orchestrated workflow supports private access to an existing S3-compatible bucket. It does not create buckets, change policies, delete old builds, install the app, or launch it.
- Input drift, an immutable-object conflict, expired signing material, or an expired private link requires a new plan. Do not force the old run forward.
Preconditions
- An existing iOS
.xcarchivewith one main app target. Embedded apps, extensions, Watch apps, and App Clips make the v1 plan not ready. - A local iOS distribution PKCS#12 identity and optional protected password file.
- A protected strict-v1 devices file. For example:
{"schemaVersion":1,"devices":[{"name":"Test iPhone","udid":"DEVICE_UDID","platform":"IOS"}]}- App Store Connect authentication with access to devices, Bundle IDs, certificates, and profiles.
- An existing S3-compatible bucket and valid credentials.
1. Create the private distribution spec
Relative paths resolve from the spec directory. The spec does not interpolate environment variables or accept credentials. A representative private config is:
{
"schemaVersion": 1,
"devicesFile": "devices.json",
"signing": {
"identity": {
"format": "pkcs12",
"path": "../signing/distribution.p12",
"passwordFile": "../secrets/distribution-p12-password"
},
"minimumValidityDays": 7,
"maxMutations": 32
},
"publication": {
"endpoint": "https://objects.example.com",
"downloadEndpoint": "https://downloads.example.com",
"region": "auto",
"bucket": "ios-builds",
"prefix": "team/app",
"addressingStyle": "path",
"urlTtl": "24h",
"downloadGrace": "1h",
"verifyTimeout": "30s"
},
"metadata": {
"title": "App",
"channel": "pull-request-42",
"sourceRevision": "abc123",
"sourceUrl": "https://example.com/team/app/commit/abc123"
}
}passwordFile, certificateSha256, downloadEndpoint, and every metadata field
are optional. An omitted password file means the PKCS#12 must use an empty
password. Protect the config and secret inputs before planning:
chmod 600 ".asc/distribution/config.json" ".asc/distribution/devices.json"
chmod 600 ".asc/signing/distribution.p12" ".asc/secrets/distribution-p12-password"2. Plan without mutation
asc distribute plan \
--archive-path ".asc/artifacts/App.xcarchive" \
--config ".asc/distribution/config.json" \
--plan ".asc/distribution/plan.json" \
--state-dir ".asc/distribution/runs" \
--output jsonInspect ready, planHash, signing validity, destination, and the complete
ordered effects inventory. Resolve blockers and create a new plan when
ready is false. Do not infer readiness from exit code alone.
3. Apply the exact authorized plan
After approval of the exact effects, pass the full 64-character hash:
PLAN_HASH="$(jq -er '.planHash' ".asc/distribution/plan.json")"
asc distribute apply \
--plan ".asc/distribution/plan.json" \
--confirm "$PLAN_HASH" \
--output jsonMissing, malformed, or unequal confirmation is rejected before side effects. Success means publication and live fetch verification completed; it does not mean a device installed or launched the app.
4. Inspect, resume, and verify
Use the returned runId:
asc distribute status --run "RUN_ID" --state-dir ".asc/distribution/runs" --output json
asc distribute resume --run "RUN_ID" --state-dir ".asc/distribution/runs" --output json
asc distribute verify --run "RUN_ID" --state-dir ".asc/distribution/runs" --timeout 30s --output jsonstatus is local-only and succeeds for running, recoverable, and blocked
runs; branch on typed fields rather than prose. resume revalidates durable
evidence before retrying and never blindly repeats a remote write. verify is
read-only but performs live fetches. Add --device "DEVICE_SELECTOR" only when
the user asks to observe the matching installed bundle, version, and build on a
connected device; this observation does not prove IPA byte identity.
The exact private install URL is a bearer credential stored only in the owner-private link artifact reported by the completed run. Share it only with the intended tester through an approved private channel.
Lower-level IPA workflow
Use this lane when signing and export are already complete. Pass the exact
bundleDir returned by prepare to publish:
asc distribute inspect --ipa ".asc/artifacts/App.ipa" --output json
asc distribute prepare --ipa ".asc/artifacts/App.ipa" --channel "pull-request-42" --output json
asc distribute publish \
--bundle-dir ".asc/distribution/com.example.app/1.2-42-IPA_SHA_PREFIX" \
--endpoint "https://objects.example.com" \
--region "auto" \
--bucket "ios-builds" \
--prefix "team/app" \
--receipt ".asc/publishes/app-1.2-42.json" \
--link-path ".asc/publishes/app-1.2-42-link.json" \
--output jsoninspect omits raw device UDIDs unless --include-devices is explicitly
needed. prepare never overwrites a bundle and reuses only an exact equivalent.
Private publish is the default and writes exact presigned links only to the
mode-0600 link artifact. Public publication is a separate explicit lane using
--access public --public-base-url; it assumes anonymous reads are already
configured and never changes storage policy.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

