I wantRelated to comment on Emil's answer but it appears I don't have the cred to comment.
, I just wanted to add that I had a similar problem updating xcode. Simply clearing the cache and restarting App Store worked for me.
rm -rf ~/Library/Caches/com.apple.SoftwareUpdate/