A macOS app that blocks a user-chosen set of other apps during scheduled weekly time windows, organized into independent "groups." Fully local — no backend, no accounts, no sync.
Built with SwiftUI and Realm, targeting macOS 14+.
- macOS 14 (Sonoma) or later
- Xcode 15+
- XcodeGen (only needed if you edit
project.yml)
Open OClock.xcodeproj in Xcode, select the OClock scheme, and run (Cmd+R).
If you change project.yml, regenerate the Xcode project first:
xcodegen generateRun the OClockTests target in Xcode with Cmd+U, or via the Makefile:
make testTo produce a distributable disk image without an Apple Developer account:
make dmgThis lands OClock.dmg in the project root. Since the app is unsigned, macOS Gatekeeper will block it on first launch — right-click the app, choose Open, then confirm.
make lint— builds the project, which runs SwiftLint as a build pluginmake test— runs the OClockTests target from the command linemake app— builds an unsigned Release.appmake dmg— packages the.appintoOClock.dmg
