Arduino on Xcode Project — Official Thread

Does the project compile with the standard Arduino IDE?

The "already defined here" message occurs when the same libraries are in two places:

  • first under the sketchbook / libraries folder
  • and second under the project folder.

The screenshot doesn't provide enough clues to help you more. What is the board used?