Repository Public
1# NEXTERM — Release & distribution23Distribution is **Developer ID + notarization** (the app is not sandboxed, so the Mac App Store is4not an option). Everything needed is already on this Mac:56| Item | Value |7|---|---|8| Signing identity | `Developer ID Application: Simon-Pierre Boucher (3YM54G49SN)` (`security find-identity -v -p codesigning`) |9| Notarization credentials | `notarytool` keychain profile **`MacLustr-Notarize`** (used for MacLustr 5.0.0, accepted 2026-09-29); App Store Connect API keys also present in `~/.appstoreconnect/private_keys/` |10| Hardened runtime | enabled in `project.yml` (`ENABLE_HARDENED_RUNTIME`), entitlements in `Resources/NEXTERM.entitlements` |11| Bundle id / version | `ai.spboucher.nexterm`, `MARKETING_VERSION` in `project.yml` |1213## Pipeline14```bash15Scripts/release.sh # build Release, sign, DMG, notarize (--wait), staple16Scripts/release.sh --skip-notarize # local signed build only17```18Outputs: `dist/NEXTERM.app` (signed, stapled) and `dist/NEXTERM-<version>.dmg` (signed, notarized, stapled),19`dist/notarize.log`.2021Verification after the pipeline:22```bash23codesign --verify --deep --strict --verbose=2 dist/NEXTERM.app24spctl -a -vv -t exec dist/NEXTERM.app # "accepted … source=Notarized Developer ID"25xcrun stapler validate dist/NEXTERM-*.dmg26```2728## Bumping a version291. Edit `MARKETING_VERSION` / `CURRENT_PROJECT_VERSION` in `project.yml`.302. `Scripts/build.sh generate` (xcodegen), then `Scripts/release.sh`.3132## First-run notes for users33* macOS will ask for Accessibility only if you use the System Events smoke test; the app itself needs no special permissions.34* Privacy prompts (Desktop/Documents/Downloads) appear when a shell in NEXTERM touches those folders — same as Terminal.app.35* Notifications permission is requested the first time a Claude hook event needs attention (only if hooks are enabled).36