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

Not compatible with this version of Xcode (12.5.1) #55

Closed billchen2k closed 3 years ago

billchen2k commented 3 years ago

Hi, My Xcode version is 12.5.1 (12E507) and I have installed xcode-wakatime with the install script. However the plugin is not available under the File menu and by checking the console I saw the following error message:

[MT] PluginLoading: Skipping plug-in at path '/Users/admin/Library/Application Support/Developer/Shared/Xcode/Plug-ins/WakaTime.xcplugin' because it is not compatible with this version of Xcode.
[MT] PluginLoading: Skipping plug-in at path '/Users/admin/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' because it is not compatible with this version of Xcode.

Is there any solution about this or is wakatime no longer available for Xcode anymore from this Xcode version?

alanhamlett commented 3 years ago

Strange... I'm also using 12.5.1 (12E507) and it's working. Can you try re-running the install script? It's probably related to the DVTUUID which updates anytime you upgrade Xcode.app. Re-installing the WakaTime extension fixes it by adding the current Xcode.app's DVTUUID to the WakaTime and Alcatraz extensions.

billchen2k commented 3 years ago

Thanks, uninstalling and reinstalling worked. Before this I had only ran the installation script multiple times without uninstalling.