For example, I have Xcode 3.2.6, Xcode 4.0, and Xcode 4.2 on our Jenkins machine. Most projects should be built against the latest version, but some are incompatible, so we would like them to build against a specific toolchain. This can be done by exporting the DEVELOPER_DIR environment variable before running xcodebuild (documentation for this is in the man page for xcrun). I see this as a similar setup to the JDK/Git/Ant/Maven setup, how you can select either the default or a specific version for a job.