Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

iOS

Patrick Metcalfe
PLUS
Patrick Metcalfe
Courses Plus Student 7,563 Points

XCode Install

So I have the latest MB pro(so came with mav). I had problems with rvm and so followed the errors to port selfupdate which is saying something about the C Compiler. According to posts I've read I have to reinstall XCode, but I dont know how. It came with my system and I intalled it through the app store. Any help on how to reinstall or even just uninstall XCode would be great. I have this idea that deleting it like any other app store app won't work because XCode has "roots" in a bunch of things throughout the system. Thanks

2 Answers

Since version 4.3 or so, Xcode doesn't leave stuff lying around your hard drive, so to uninstall it, you just drop the Xcode.app into trash and empty it. After that, just re-install it via App Store (and be sure to install the command-line tools as well). To get the command line tools you can run this from your terminal xcode-select --install and then follow the instructions.

Patrick Metcalfe
PLUS
Patrick Metcalfe
Courses Plus Student 7,563 Points

Thanks I tried all that but to no avial in my problem. As it's been like 3 hours and this problem is clearly far above my expertise, I lost it and reset my computer. No backup or anything(only lose English papers...I'll live) just held Cmd+R. Thank you though.