Tried to install this with macOS Monterey and it doesn't seem to work
I get the following:
swift package clean
rm -rf .build
swift build -Xlinker -sectcreate -Xlinker TEXT -Xlinker infoplist -Xlinker Info.plist --configuration release
Fetching https://github.com/eonil/FSEvents from cache
Fetching https://github.com/SwiftyJSON/SwiftyJSON from cache
Fetched https://github.com/eonil/FSEvents (2.60s)
Fetched https://github.com/SwiftyJSON/SwiftyJSON (2.60s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON
Computed https://github.com/SwiftyJSON/SwiftyJSON at 5.0.0 (0.52s)
Computing version for https://github.com/eonil/FSEvents
Computed https://github.com/eonil/FSEvents at 0.1.6 (0.51s)
Creating working copy for https://github.com/eonil/FSEvents
Working copy of https://github.com/eonil/FSEvents resolved at 0.1.6
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON
Working copy of https://github.com/SwiftyJSON/SwiftyJSON resolved at 5.0.0
remark: Incremental compilation has been disabled: it is not compatible with whoremark: Incremental compilation has been disabled: it is not compatible with whoremark: Incremental compilation has been disabled: it is not compatible with whoremark: Incremental compilation has been disabled: it is not compatible with who/Users/ryec/taskwarrior-reminders/Sources/Repositories/Taskwarrior.swift:29:9: warning: result of call to 'execTaskwarrior(args:input:)' is unused
execTaskwarrior(args: ["sync"])
^ ~~~~
/Users/ryec/taskwarrior-reminders/Sources/Repositories/Taskwarrior.swift:47:9: warning: result of call to 'execTaskwarrior(args:input:)' is unused
execTaskwarrior(args: ["reminderID:" + t.reminderID!, "-COMPLETED", "delete"])
^ ~~~~~~~~~~~~~~~
/Users/ryec/taskwarrior-reminders/Sources/Repositories/Taskwarrior.swift:88:9: warning: result of call to 'execTaskwarrior(args:input:)' is unused
execTaskwarrior(args: args, input: task)
^ ~~~~~
/Users/ryec/taskwarrior-reminders/Sources/Repositories/Taskwarrior.swift:117:17: warning: initialization of immutable value 'jsonEncoder' was never used; consider replacing with assignment to '' or removing it
let jsonEncoder = JSONEncoder.init()
_
/Users/ryec/taskwarrior-reminders/Sources/Repositories/Taskwarrior.swift:137:9: warning: no calls to throwing functions occur within 'try' expression
try process.launch()
^
remark: Incremental compilation has been disabled: it is not compatible with whoremark: Incremental compilation has been disabled: it is not compatible with who/Users/ryec/taskwarrior-reminders/Sources/Sync/main.swift:16:9: warning: initialization of immutable value 'fsobserver' was never used; consider replacing with assignment to '_' or removing it
let fsobserver = TaskwarriorObserver(reminders, syncSince: syncStart, lock: lock)
~~~~^~~~~~~~~~
_
/Users/ryec/taskwarrior-reminders/Sources/Sync/RemindersObserver.swift:43:25: warning: initialization of immutable value 'syncResult' was never used; consider replacing with assignment to '_' or removing it
let syncResult = self.tw.upsertToTaskwarrior(
~~~~^~~~~~~~~~
_
/Users/ryec/taskwarrior-reminders/Sources/Sync/TaskwarriorObserver.swift:33:25: warning: result of call to 'upsertToTaskwarrior' is unused
self.tw.upsertToTaskwarrior(syncResult.task)
^ ~~~~~~~~~~~~~~~~~
[8/8] Build complete!
rm -f /usr/local/bin/task-reminders-sync
launchctl remove com.blampe.task-reminders-sync || true
rm ~/Library/LaunchAgents/com.blampe.task-reminders-sync.plist || true
cp .build/release/task-reminders-sync task-reminders-sync
ln -Fs /task-reminders-sync /usr/local/bin/task-reminders-sync
cp com.blampe.task-reminders-sync.plist ~/Library/LaunchAgents/.
launchctl load -w ~/Library/LaunchAgents/com.blampe.task-reminders-sync.plist
Warning: Expecting a LaunchDaemons path since the command was ran as root. Got LaunchAgents instead.
`launchctl bootstrap` is a recommended alternative.
Tried to install this with macOS Monterey and it doesn't seem to work
I get the following: