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

Fails to install on Xcode 13 #63

Closed samuelowino closed 2 years ago

samuelowino commented 2 years ago
Installing Alcatraz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0x Alcatraz.xcplugin/
x Alcatraz.xcplugin/Contents/
x Alcatraz.xcplugin/Contents/Info.plist
x Alcatraz.xcplugin/Contents/MacOS/
x Alcatraz.xcplugin/Contents/Resources/
x Alcatraz.xcplugin/Contents/Resources/ATZPackageListTableCellView.nib: Can't replace existing directory with non-directory
x Alcatraz.xcplugin/Contents/Resources/ATZPluginWindowController.nib: Can't replace existing directory with non-directory
x Alcatraz.xcplugin/Contents/Resources/bitbucket_grayscale.tiff
x Alcatraz.xcplugin/Contents/Resources/en.lproj/
x Alcatraz.xcplugin/Contents/Resources/eye_icon.tiff
 37  107k   37 41253    0     0  11771      0  0:00:09  0:00:03  0:00:06 45233
x Alcatraz.xcplugin/Contents/Resources/github_grayscale.tiff
x Alcatraz.xcplugin/Contents/Resources/link_icon.tiff
x Alcatraz.xcplugin/Contents/Resources/en.lproj/InfoPlist.strings
x Alcatraz.xcplugin/Contents/Resources/en.lproj/Localizable.strings
100  107k  100  107k    0     0  30010      0  0:00:03  0:00:03 --:--:--  100k

 tar: Error exit delayed from previous errors.
gandarez commented 2 years ago

@samuelowino without detailed ifo we can guess what happened. Enable debug = true in your ~/.wakatime.cfg and check for any errors. Feel free to attach some of them here.

alanhamlett commented 2 years ago

Most likely a duplicate of #61. @samuelowino if you're getting a different error than the one in #61 please paste it here and we can re-open this issue.

samuelowino commented 2 years ago

Hey @gandarez @alanhamlett , I noticed that there are already issues open with the exact same error log. Unfortunately none with Xcode 13. Let me add some error logs to my issues description

samuelowino commented 2 years ago

@gandarez @alanhamlett check issue description, seems like Alcatraz fails to install.

samuelowino commented 2 years ago

@alanhamlett you are too quick to close issues, please look at the description above

samuelowino commented 2 years ago

Reinstalling wakatime-cli solved the issue for me.

bash <(curl -s https://raw.githubusercontent.com/wakatime/xcode-wakatime/master/WakaTime/install_dependencies.sh)
alanhamlett commented 2 years ago

Looks like it failed when installing Alcatraz. Maybe we don't need Alcatraz anymore, since it's no longer supported.

samuelowino commented 2 years ago

It's definitely Alcatraz.

I also wanted to use method 2: creating a copy of Xcode so that I can preserve the original Xcode app signature, because I still want to use Xcode to upload builds to App Store connect. I had a previous installation that refused Apple ID registration due to the plugin corrupting Xcode signature.

Some innovation around this would be awesome.

samuelowino commented 2 years ago

Thanks, the plugin is awesome!

alanhamlett commented 2 years ago

I removed Alcatraz from the install script with 987582b4f23f436c341d16c1bc16e996b06f4822 and it seems to work fine without it. Should be fixed 👍