Install Xcode: We could not complete your purchase. Unknown Error.
After I upgrade the system to Mavericks, I remove the Xcode.
Then when I use the terminal, the system prompt saying whether to Get Xcode or Get Command Line Tools or something like that. (because I am using git)
Now I want to install the new version of Xcode, but MAS says: "We could not complete your purchase. Unknown Error."
I've tried all solutions out there can be found, like:
1. sign out/back the account
2. remove app store cookies
3. delete the app store cache
4. delete the /var/folders
Nothing works.
I doubt it has something to do with the already working Command Line Tools. But I cannot find this can uninstall it since it is installed alone without Xcode.
Please help.
MacBook Air (13-inch Mid 2012), OS X Mavericks (10.9)