Say I've got an Xcode project on a linux machine and I want to, like I can do on the Mac, install & use xcodebuild
to simply compile the project, not to run it or anything fancy, just simply to compile it to check for errors.
Is it possible to install xcodebuild
on a Linux machine or is it entirely out of the question, if so what are my alternatives?
You can't use the standard Apple developer tools on Linux, because they're compiled for Mac OS X.
If you're compiling for iOS, you can, however, build an opensource iOS toolchain for linux and use it for compiling your app. You'll need a jailbroken device to upload the binary, though.
If you're working with a normal OS X application, then, provided you have the necessary libraries and frameworks, you can build the project for Linux using make.