I had the same thing today. Suddenly, randomly, after working for years, I got asked for my github password when trying to 'Push' to the github remote - even though I use SSH rather than passwords.And when I went to preferences/accounts, my github one was grayed out, and gave the same 'Account Unavailable message as you received.I fixed it by completely reinstalling XCode - following these steps I found on the Internet:Delete /Applications/XcodeDelete all files containing com.apple.dt in ~/Library/CachesDelete all files containing com.apple.dt in ~/Library/PreferencesOpen App Store.app, download and re-install Xcode.Create the Apple ID developer accountThat worked fine for me - though other people have reported varying results.I did try just deleing the caches and preferences first, before uninstalling/reinstalling XCode - but that didn't do the trick. I had to do the full re-install thing before it would work.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: