Problem updating/uninstalling Xcode So I tried updating Xcode but after the update I still got the same version of it (so there was an update still available).

I decided to uninstall it by throwing the app in the trash. The update still remains. After clicking 'Update', nothing happens and now I can't use it.

Any help on this as it is very important for me right now?

Note: I deleted the Library/Developer folder too
There is a downloads page with all past versions of all of the developer tools on it, try https://developer.apple.com/download/more/


Click on the "+" button to the left of "Xcode 10.2"
Click on the "Xcode 10.2.xip" link to download Xcode.