I'm not sure it's the hackintosh... now and then I hear a lot of complaints about a particular version of xcode even on native macs. I don't use it, but I have work colleagues who do.
I was running the same version of Xcode on the same version of Mac OS on a 4-5 year old Macbook Air and it worked fine there, just slow.
I've certainly had Xcode crash once in a while, but this was something else. Tried reinstalling it and no change. I don't think I even got it to finish a build.