Skip to content

enhancement: add macOS code signing and notarization support#297

Merged
iLLiCiTiT merged 11 commits intodevelopfrom
mac-notarization
Mar 30, 2026
Merged

enhancement: add macOS code signing and notarization support#297
iLLiCiTiT merged 11 commits intodevelopfrom
mac-notarization

Conversation

@philippe-ynput
Copy link
Copy Markdown
Contributor

Changelog Description

Add comprehensive macOS code signing and notarization infrastructure for distributing AYON outside the Mac App Store.

NOTE: no CI support yet.

Changes:

  • Add tools/macos/codesign_orchestrator.py for deterministic multi-stage code signing of nested app bundles
  • Add tools/macos/ayon.entitlements and tools/macos/ayon_helper.entitlements for hardened runtime
  • Add tools/macos/SIGNING_CONFIG.md with detailed setup instructions for Apple Developer certificates and notarization
  • Add tools/utils.py with shared logging utilities for build tools
  • Update tools/build_post_process.py to support DMG creation with notarization workflow
  • Update tools/make.sh to integrate code signing into build process
  • Add documentation in docs/build_guides/macos.md with environment variables reference and usage examples

Testing notes:

  1. Read the docs to setup your shell environment.
  2. tools/make.sh build-make-installer
  3. Open the dmg in ayon-launcher/build/installer
  4. Run the launcher app.

ynbot and others added 3 commits March 23, 2026 09:15
Add comprehensive macOS code signing and notarization infrastructure for distributing AYON outside the Mac App Store.

Changes:
- Add `tools/macos/codesign_orchestrator.py` for deterministic multi-stage code signing of nested app bundles
- Add `tools/macos/ayon.entitlements` and `tools/macos/ayon_helper.entitlements` for hardened runtime
- Add `tools/macos/SIGNING_CONFIG.md` with detailed setup instructions for Apple Developer certificates and notarization
- Add `tools/utils.py` with shared logging utilities for build tools
- Update `tools/build_post_process.py` to support DMG creation with notarization workflow
- Update `tools/make.sh` to integrate code signing into build process
- Add documentation in `docs/build_guides/macos.md` with environment variables reference and usage examples

Signed-off-by: philippe-ynput <philippe@ynput.io>
@philippe-ynput philippe-ynput self-assigned this Mar 26, 2026
@philippe-ynput philippe-ynput added the type: enhancement Improvement of existing functionality or minor addition label Mar 26, 2026
philippe-ynput and others added 5 commits March 26, 2026 18:35
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Add workflow_dispatch trigger to allow manual builds with a specified tag.
Include new build-macos job that:
- Installs Homebrew dependencies (cmake, create-dmg)
- Imports Apple Developer ID certificate for code signing
- Configures notarization credentials via notarytool
- Builds installer with code signing and notarization enabled
- Uploads signed artifacts to GitHub release

Signed-off-by: philippe-ynput <philippe@ynput.io>
Signed-off-by: philippe-ynput <philippe@ynput.io>
Signed-off-by: philippe-ynput <philippe@ynput.io>
Signed-off-by: philippe-ynput <philippe@ynput.io>
@iLLiCiTiT iLLiCiTiT marked this pull request as ready for review March 30, 2026 11:39
@iLLiCiTiT iLLiCiTiT merged commit 7949eb8 into develop Mar 30, 2026
1 of 8 checks passed
@iLLiCiTiT iLLiCiTiT deleted the mac-notarization branch March 30, 2026 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement Improvement of existing functionality or minor addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants