Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with Monterey #9

Open
rye-c opened this issue Dec 28, 2021 · 0 comments
Open

Not working with Monterey #9

rye-c opened this issue Dec 28, 2021 · 0 comments

Comments

@rye-c
Copy link

rye-c commented Dec 28, 2021

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 __info_plist -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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant