Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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.