Skip to content

CLI for SidePulse

Python
1.2 KB
Raw Blame

macOS installer

The release script builds a self-contained SidePulse.app, signs it with hardened runtime, wraps it in a signed PKG, submits it to Apple's notary service, and staples the ticket.

Requirements:

  • Developer ID Application and Developer ID Installer certificates
  • Xcode command-line tools
  • A notarytool keychain profile

Store notarization credentials once:

xcrun notarytool store-credentials sidepulse-notary \
  --apple-id [email protected] --team-id TEAMID --password APP_SPECIFIC_PASSWORD

Build, sign, notarize, and staple:

APP_SIGN_IDENTITY="Developer ID Application: Your Name (TEAMID)" \
INSTALLER_SIGN_IDENTITY="Developer ID Installer: Your Name (TEAMID)" \
NOTARY_PROFILE="sidepulse-notary" \
./packaging/build_macos_pkg.sh

The resulting installer is written to dist/. On installation it places the app in /Applications, links the sidepulse command into /usr/local/bin, and configures hooks and per-user LaunchAgents for the logged-in user.

For local packaging verification when release certificates are unavailable, run ALLOW_UNSIGNED=1 ./packaging/build_macos_pkg.sh. That output is explicitly not suitable for distribution and cannot be notarized.