wakatime / macos-wakatime

Mac system tray app for automatic time tracking and metrics generated from your Xcode, Figma, Postman, etc. usage.
https://wakatime.com/mac
BSD 3-Clause "New" or "Revised" License
142 stars 23 forks source link

Not tracking on Mac m1 #118

Closed NykuluzC closed 1 year ago

NykuluzC commented 1 year ago

Supposed behavior: Track XCode

Actual behavior: does not track XCode

Environment: XCode OS: Mac

Logs:

image
alanhamlett commented 1 year ago

Are you using the new Mac Desktop app to track Xcode?

NykuluzC commented 1 year ago

Are you using the new Mac Desktop app to track Xcode?

yes I am using the new mac desktop app but still the same problem

image
starbugs commented 1 year ago

I tested the app on an M1 mac. Unfortunately, I couldn't reproduce your issue yet.

Please try the following:

  1. Make sure you have only one WakaTime.app installed on your system and that it is located in /Applications/WakaTime.app.
  2. If currently running, quit the WakaTime desktop app.
  3. In the "System Settings.app", go to "Privacy & Security" -> "Accessibility".
  4. Remove the "WakaTime" entry by clicking on it and then clicking the minus button underneath the list box.
  5. Restart the WakaTime desktop app.
  6. You will get a notification asking you to open the System Settings app and grant the accessibility permission. Click on that and toggle the switch of the "WakaTime" entry to the "on" position.
  7. Open an Xcode project and start typing to check if data is received by the WakaTime Dashboard.
  8. Additionally, please make sure that the API key is set correctly in the "Settings" window of the WakaTime desktop app.

If this still doesn't help, please let me know.

As a side note: I am not sure if the logs you posted are related to WakaTime. Could you explain why you believe those are relevant to the issue you are experiencing?

alanhamlett commented 1 year ago

Closing due to inactivity.

alanhamlett commented 7 months ago

Fixed with #208.