Arduino on Xcode Project — Official Thread

avenue33:
You can try to run embedxcode_prepare from the terminal window.

How do I do that?