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 Objective-C Basics (Retired) Fundamentals of C Anatomy of a C program

Hi! how I can download x code in windows ?

here it,s not workspace and the teacher working individual so it,s difficalt to adjust my work!!

2 Answers

J.D. Sandifer
J.D. Sandifer
18,813 Points

The last time I checked it was still against the OS X license to install it on anything other than genuine Mac hardware.

Therefore, I believe the best answer to your question is that it's not possible to run Xcode on Windows right now - because you need OS X and you can't (legally) install it on a PC.

I actually purchased a Mac Mini recently for that very reason - so I could develop for iOS using Xcode.

On the flip side, it's perfectly fine to virtualize a PC on Mac hardware and run Windows or Linux. This is why a Mac is a great option for developers. Android Studio and many other tools will run on OS X natively, too. (Notice how a lot of the Treehouse presentation computers are Macs...)

BTW, I used PCs exclusively for twenty years so I can assure you that I'm not biased toward Macs.