Arduino on Xcode Project — Official Thread

sure, as long as you don't end up creating sketches that can ONLY be compiled from the XCode environment. Assuming that you want to share your code, it'll need to compile from the Arduino IDE as well. I don't think that this has been a problem so far, but I can see it becoming one as programs get larger.