wakatime / xcode-wakatime

Xcode plugin for automatic time tracking and metrics generated from your programming activity.
https://wakatime.com/xcode
BSD 3-Clause "New" or "Revised" License
393 stars 28 forks source link

Xcode crashes on launch after install #65

Closed matthewspear closed 2 years ago

matthewspear commented 2 years ago

Xcode is unresponsive on launch, trying to open working project / new project cause Xcode to crash.

Using Xcode 13.4.1 (Latest at time of post) and script from README.md in this repo.

Attaching crashlog. Particularly noticed the line mentioning WakaTime: [WakaTime sendHeartbeatWithWrite:]

Crash.txt

matthewspear commented 2 years ago

To confirm after doing a fresh install of 13.4.1 everything is working again 😕

alanhamlett commented 2 years ago

NSTask.launch has been deprecated, so switched to NSTask.launchAndReturnError with afa2e1fa77ce630ef3deda5d3937b197c36c3c25.

Can you see if re-installing the xcode-wakatime plugin works now?

matthewspear commented 2 years ago

I've re-installed and have no crashes 🎉

But it doesn't seem to be logging to the dashboard – I tried replacing the API key but still nothing...

Let me know if theres anything I can do to assist debugging it!

matthewspear commented 2 years ago

I've checked again in the dashboard and the API key and it seems with the latest change I'm no longer receiving update to Wakatime from Xcode

matthewspear commented 2 years ago

Update on this – I've got it working, completely uninstalled wakatime (everything = xcode, all dot files, vscode) and then fresh installed it and received time logged in the dashboard

Happy to close this!