This guide explains how to build and distribute the Snap macOS application. The app has been successfully built and packaged for distribution.
- App Bundle:
build/Release/snap.app- The signed application bundle - DMG Package:
build/Snap-1.0.dmg- Disk image for easy distribution - Archive:
build/snap.xcarchive- Xcode archive for further distribution options
- Download
Snap-1.0.dmg - Double-click to mount the disk image
- Drag
snap.appto your Applications folder - Launch the app from Applications
Since this app is signed with a development certificate, users may see a security dialog on first launch. To bypass this:
Option 1: Right-click the app and select "Open" Option 2: Go to System Preferences > Security & Privacy > Allow the app after the first launch attempt
Builds, signs, and packages the app for distribution:
./build_distribution.shFor enhanced distribution trust (requires Developer ID Application certificate):
./notarize.sh your.apple.id@email.com- Bundle ID:
nico.wang.snap - Version: 1.0
- Minimum macOS: 15.4
- Architecture: ARM64 (Apple Silicon)
- Permissions: Microphone access for sound detection
- Signing: Development certificate with hardened runtime
- ✅ Signed: App is properly code signed
- ✅ Entitlements: Microphone access configured
- ✅ Hardened Runtime: Enabled for security
⚠️ Gatekeeper: Development signing (requires user approval)
To avoid user security warnings and enable seamless installation:
- Get a Developer ID Application certificate from Apple Developer Program
- Update the build script to use
developer-idinstead ofdevelopment - Notarize the app using the notarization script
- Distribute the notarized DMG
build/
├── Release/
│ ├── snap.app/ # Main application bundle
│ ├── DistributionSummary.plist # Export summary
│ └── Packaging.log # Build log
├── Snap-1.0.dmg # Distribution disk image
├── snap.xcarchive/ # Xcode archive
└── ExportOptions.plist # Export configuration
If you need to rebuild or modify the distribution:
- Clean build:
rm -rf build/ - Run build script:
./build_distribution.sh - Verify signing:
codesign --verify --verbose build/Release/snap.app - Test installation: Mount DMG and test on another machine
The app includes proper entitlements for microphone access and will request permission on first use. Users can manage permissions in System Preferences > Security & Privacy > Privacy > Microphone.
- Modern macOS app bundle
- Proper code signing
- DMG installer
- Icon and branding
- Microphone permissions
- Hardened runtime security
Ready for Distribution: The Snap-1.0.dmg file is now ready to be shared with users!