xcode-wakatime icon indicating copy to clipboard operation
xcode-wakatime copied to clipboard

Installing XCode plugin requires sign in into Apple account

Open omokagbo opened this issue 2 years ago • 6 comments

I newly installed the XCode plugin for my XCode 13 and immediately I tried to build it for my device, I began running into issues. I had been signed out of my Apple account and there was no way to sign in again. I've done everything possible but to no avail. Cleared derived data and build folder but still the same thing. Restarted my XCode and system but still the same thing. I have also tried all the suggestions I've seen online but to no avail. I'm attaching screenshots of what the error looks like.

This is what it looks like when I try to run my app Screenshot 2021-12-04 at 17 58 13

This is what it looks like when I try to sign into any of my accounts. Screenshot 2021-12-04 at 17 58 06

omokagbo avatar Dec 04 '21 17:12 omokagbo

This is an issue with how Wakatime does the signing if my memory is correct. To get around this, make a copy of your Xcode app before installing wakatime. That way you have a way to publish your app. Let Wakatime sign the non-copied app and use that one to track your development time. I don't like this work around but it works for me to publish apps to TestFlight and the AppStore

starcomsys avatar Jan 03 '22 00:01 starcomsys

This is an issue with how Wakatime does the signing if my memory is correct. To get around this, make a copy of your Xcode app before installing wakatime. That way you have a way to publish your app. Let Wakatime sign the non-copied app and use that one to track your development time. I don't like this work around but it works for me to publish apps to TestFlight and the AppStore

Tried this as well when it happened. I ended up having two different xcodes (xcode and xcode with plugins) but my wakatime wasn't even functioning again.

omokagbo avatar Jan 06 '22 06:01 omokagbo

the Same issues, I think it must remove the profile

loyio avatar Feb 20 '22 02:02 loyio

type this commands below and don't sign Xcode.app

sudo defaults write /Library/Preferences/com.apple.security.libraryvalidation.plist DisableLibraryValidation -bool true

skip Xcode sign like this

curl -fsSL https://raw.githubusercontent.com/wakatime/xcode-wakatime/master/install.sh | sh -s nosign

p-x9 avatar May 29 '22 17:05 p-x9

@p-x9 does that work for you and track time on your dashboard? Another user is reporting an issue with these install steps in #64.

alanhamlett avatar Jun 01 '22 15:06 alanhamlett

@alanhamlett yes, It' s logged correctly. But be careful not to sign the Xcode.app yourself, or it will not work properly.

p-x9 avatar Jun 01 '22 15:06 p-x9