How do I reinstall Xcode?

I've decided to uninstall and reinstall Xcode, since McAfee quarantined Xcode files and won't let me restore them. When I reinstall them I'll exclude the Xcode files from being scanned by McAfee.


I'm unfamiliar with uninstalling on a Mac. If I recall, it's a matter of sending the icon in Applications to the Trash and to uninstall and then to reinstall I just go to App Store and install Xcode again. Am I correct?

Answered by KMT in 325820022

I don't think the MAS will cooperate.


1.) Move Xcode to the trash, then empty.


2.) Download the 9.4.1 .xip from here ( https://developer.apple.com/download/more/ ) and run to re-install.


3.) Get rid of mcafee - it's a bill of goods/security theater that will only continue to generate grief.


Note there are ancillary files that exist outside the Application, but in your example, I don't think you need to worry over them. Also note this may or may not hose the MAS's ability to know about the reinstall vs. the next version, etc.

Accepted Answer

I don't think the MAS will cooperate.


1.) Move Xcode to the trash, then empty.


2.) Download the 9.4.1 .xip from here ( https://developer.apple.com/download/more/ ) and run to re-install.


3.) Get rid of mcafee - it's a bill of goods/security theater that will only continue to generate grief.


Note there are ancillary files that exist outside the Application, but in your example, I don't think you need to worry over them. Also note this may or may not hose the MAS's ability to know about the reinstall vs. the next version, etc.

How do I reinstall Xcode?
 
 
Q