Skip to content

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.

Terminal window
open Orifold.xcodeproj
Terminal window
swift build
swift test
xcodebuild build -quiet -project Orifold.xcodeproj -scheme Orifold -destination 'generic/platform=macOS' CODE_SIGNING_ALLOWED=NO
xcodebuild test -quiet -project Orifold.xcodeproj -scheme Orifold -destination 'platform=macOS' CODE_SIGNING_ALLOWED=NO
Terminal window
./scripts/install-mac.sh --package-only --package /tmp/Orifold.zip

Install from source without opening the app

Section titled “Install from source without opening the app”
Terminal window
./scripts/install-mac.sh --no-open
Terminal window
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.zip

GitHub Actions uses the same path when the corresponding secrets are configured.