Not an apple user, but I've heard that xcode is an ide+build system. Which means that you can't compile an application if you don't have the exact version of xcode installed. How true is that?
It is an IDE + build system but you can totally write code in a different editor and compile it on the command line with xcodebuild.