Build from source
Source builds need Apple Command Line Tools with Swift 5.9+. The normal installer never needs this — it downloads a prebuilt app.
Open in Xcode
Section titled “Open in Xcode”open Orifold.xcodeprojBuild and test
Section titled “Build and test”swift buildswift testxcodebuild build -quiet -project Orifold.xcodeproj -scheme Orifold -destination 'generic/platform=macOS' CODE_SIGNING_ALLOWED=NOxcodebuild test -quiet -project Orifold.xcodeproj -scheme Orifold -destination 'platform=macOS' CODE_SIGNING_ALLOWED=NOPackage a release zip
Section titled “Package a release zip”./scripts/install-mac.sh --package-only --package /tmp/Orifold.zipInstall from source without opening the app
Section titled “Install from source without opening the app”./scripts/install-mac.sh --no-openSigned & notarized builds
Section titled “Signed & notarized builds”ORIFOLD_SIGNING_IDENTITY="Developer ID Application: Your Name (TEAMID)" \ORIFOLD_NOTARIZE=1 \ORIFOLD_APPLE_ID="apple-id@example.com" \ORIFOLD_APPLE_TEAM_ID="TEAMID" \ORIFOLD_APPLE_APP_SPECIFIC_PASSWORD="app-specific-password" \./scripts/install-mac.sh --package-only --package /tmp/Orifold.zipGitHub Actions uses the same path when the corresponding secrets are configured.