Ship a macOS app through the App Store
Store release flow
flowchart LR
A[fission.toml] --> B[Store entitlements and profile]
B --> C[Mac App Store package]
A --> D[Metadata and release content]
D --> E[Screenshots and review attachments]
C --> F[App Store Connect upload]
E --> G[Listing upload]
F --> H[Processing]
G --> H
H --> I[Review submission]
The exact identity names vary by Apple account, but the configuration shape is stable:
[package.macos.variants.app-store]
entitlements = "platforms/macos/AppStore.entitlements"
provisioning_profile = "/path/to/private/AppMacStore.provisionprofile"
signing_identity = "Apple Distribution"
installer_identity = "Mac Installer Distribution"
cargo_features = ["macos-app-store"]
notarize = false
[distribution.app_store]
app_id = "1234567890"
bundle_id = "com.example.product"
issuer_id = "00000000-0000-0000-0000-000000000000"
key_id = "ABC123DEFG"
api_key_env = "APP_STORE_CONNECT_API_KEY_PATH"
default_track = "app-store-review"
What each block means:
package.macos.variants.app-store selects a Store-specific package variant.
entitlements must describe the sandboxed Store application, not the direct-download app.
provisioning_profile must be the Mac App Store profile for the exact bundle ID.
signing_identity signs the application for Store submission.
installer_identity signs the package format used by the submission flow.
cargo_features selects a real feature declared by the application; the example name is not a built-in Fission feature.
distribution.app_store identifies the existing Store Connect app and API credentials.
default_track makes the intended follow-up explicit; upload, TestFlight, and App Review are different operations.
Replace the profile path with a private input on the signing Mac. Secrets stay
outside the public tree. Do not put .p8 bytes, certificate passwords, or private
keys in fission.toml. The variant is applied only when packaging selects
--variant app-store; defining the table alone does not choose it.
Keep the root TOML compact and put long text in referenced files:
[[releases]]
version = "1.0.0"
build = 1
metadata = "release-content/metadata/1.0.0/release.toml"
release_notes = "release-content/metadata/1.0.0/notes"
review = "release-content/metadata/1.0.0/review.toml"
privacy = "release-content/metadata/1.0.0/privacy.toml"
[release]
content_output_dir = "release-content"
[release.assets.app_store]
screenshot_sets_dir = "release-content/screenshots/rendered/app-store"
app_previews_dir = "release-content/previews/app-store"
review_attachments = ["release-content/review/demo.pdf"]
This separation lets a content-only correction be reviewed and pushed without changing signed application bytes. It also gives Fission a stable place to hash every submitted asset and write a receipt.
3. Prepare screenshots and app previews
Run the app at a deterministic window size and capture the states that explain the product quickly. A useful set usually includes the first-run screen, the primary result, and one detailed view. Do not submit screenshots containing debug controls, fake data, or personal information.
fission release-content capture \
--project-dir . \
--target macos \
--set app-store
fission release-content render \
--project-dir . \
--provider app-store
fission release-content validate \
--project-dir . \
--provider app-store
The capture configuration belongs in the project release-content settings. A representative shape is:
[release.screenshots]
raw_dir = "release-content/screenshots/raw"
rendered_dir = "release-content/screenshots/rendered"
[[release.screenshots.scenarios]]
id = "workspace-ready"
name = "Workspace overview"
targets = ["macos"]
command = "fission run --target macos --variant app-store"
test_port = 4100
timeout_ms = 60000
[[release.screenshots.scenarios.steps]]
cmd = "resize"
width = 1440
height = 900
[[release.screenshots.scenarios.steps]]
cmd = "screenshot"
name = "01-workspace"
Capture starts the declared command with the LiveTest port and scenario
environment configured. The app must reach a real reviewable state; add the
necessary waiting and interaction steps for that app rather than capturing an
arbitrary first frame. Choose the locale in the app's capture setup. The
scenario does not add another locale field to the screenshot schema.
4. Authenticate App Store Connect
Use an App Store Connect API key with a role that can perform the intended operation. Upload-only workflows may use a narrower role; metadata, screenshots, and submission need an App Manager or Admin-level key.
export APP_STORE_CONNECT_ISSUER_ID="00000000-0000-0000-0000-000000000000"
export APP_STORE_CONNECT_KEY_ID="ABC123DEFG"
export APP_STORE_CONNECT_API_KEY_PATH="$HOME/.private-keys/AuthKey_ABC123DEFG.p8"
Check that the local project and provider agree before uploading:
fission release-config validate --project-dir . --provider app-store
fission release-config version-state --project-dir . --provider app-store --target macos --json
fission readiness release --project-dir . --provider app-store --target macos --format pkg
If build upload works but metadata or screenshot push returns FORBIDDEN_ERROR, the API key is valid but underprivileged for that mutation. Create or select a key with the required App Store Connect role; do not weaken the signing or retry blindly.
5. Package and upload the build
fission package \
--project-dir . \
--target macos \
--format pkg \
--variant app-store \
--release
fission distribute \
--project-dir . \
--provider app-store \
--artifact target/fission/release/macos/pkg/variants/app-store/artifact-manifest.json \
--track app-store-review \
--yes
The package manifest connects the uploaded bytes to the release version and build. Fission should report the provider build identifier and processing state in its receipt. Wait for Apple processing before assigning the build or submitting it for review.
6. Push listing content
Import provider state before overwriting anything, review the diff, and lock the baseline:
fission release-config import --project-dir . --provider app-store --locales en-US --yes
fission release-config diff --project-dir . --provider app-store
fission release-config lock --project-dir . --provider app-store --locales en-US --yes
Then validate and push metadata and release content explicitly:
fission release-config push \
--project-dir . \
--provider app-store \
--locales en-US \
--yes
fission release-content push \
--project-dir . \
--provider app-store \
--yes
App Store Connect may require the app record to be created manually and may expose different permissions for binary upload, listing mutation, and review submission. Treat each receipt and provider status as a separate checkpoint.
7. Submit for review
Before review, confirm:
The correct Store build is selected for the version.
Screenshots show the submitted build and contain no debug-only UI.
Privacy answers and export compliance are complete.
Support, marketing, and privacy URLs resolve over HTTPS.
Review notes explain how to reach the useful feature without requiring unavailable credentials.
The app does not claim capabilities that are absent from the Store build.
Submit only after provider-side processing and release-content validation succeed. Keep review submission separate from upload so a failed listing update cannot accidentally submit an incomplete version.
8. CI checklist
macOS runner has the required Xcode command-line tools.
Store certificate and provisioning profile are imported into an isolated keychain.
App Store Connect .p8 is written to a temporary file.
Team ID, issuer ID, and key ID come from protected variables.
Build numbers advance monotonically.
fission readiness release passes before the expensive upload.
Artifact, content, and provider receipts are retained.
Temporary certificates, profiles, and API keys are deleted after the job.
Further reading