Guidelines for building, running, and contributing to Pocket Stack.
- macOS: macOS 14.0 (Sonoma) or newer
- Xcode: Xcode 16+ with Swift 6 support
- Swift Package Dependencies: Managed via Swift Package Manager inside
Pocket Stack.xcodeproj
git clone https://github.com/your-org/pocket-stack.git
cd "pocket-stack"Open Pocket Stack.xcodeproj in Xcode:
open "Pocket Stack.xcodeproj"Select the Pocket Stack scheme and your Mac as the run destination, then press ⌘R to build and launch.
To build from the command line using xcodebuild:
xcodebuild -project "Pocket Stack.xcodeproj" \
-scheme "Pocket Stack" \
-destination "platform=macOS" \
buildPocket Stack runs as an accessory utility (LSUIElement = YES):
- It has no standard Dock icon.
- Floating panels are
NSPanelinstances with.nonactivatingPanelstyle masks to prevent interrupting the active application. - For detailed definitions and rules regarding NoteFan, preview sizing, stack overlap, and edge layouts, refer to DECK_TERMINOLOGY.md.
- Entitlements: Sandboxing is enabled under
Pocket Stack/Pocket Stack.entitlements. - Microphone Access: Microphone usage description is defined in
Pocket-Stack-Info.plistfor audio dictation. - Developer ID & Notarization: Production builds should retain sandbox entitlements, use a hardened runtime, and be notarized using
xcrun notarytool.
scripts/release-from-archive.sh produces two distribution artifacts:
Pocket-Stack-<version>.zipis signed with Sparkle's EdDSA key and is used only by the automatic update feed.Pocket-Stack-<version>.dmgis the branded drag-to-Applications installer published for new downloads. The DMG and the app inside it are both signed, notarized, and stapled before upload.
DMG packaging requires create-dmg 1.2.3 or newer. Install it with brew install create-dmg, then run the release script from a logged-in macOS GUI session. The first run may ask for permission to let the terminal control Finder; that permission is required to apply the custom background and icon layout.