Arduino on Xcode Project — Official Thread

embedXcode supports Arduino 1.0.1.

The Sketchbook/Library folder is not created by embedXcode but managed by the Arduino IDE.

Please refer to Installing Additional Arduino Libraries on how to install the Sketchbook/Library folder.

Once the Sketchbook/Library folder exists,

  • run Arduino
  • and define the path of the sketchbook in the menu Arduino > Preferences > Sketchbook location as explained page 6.

Now, launch embedXcode, create a new project and follow the instructions page 22:

  • Open the Sketchbook group on the project hierarchy. Right-click to obtain the contextual menu.
  • Choose Add file to...
  • ?Select the Library sub-folder on the sketchbook folder, tick Add to target > Index and validate with Add.

Xcode is a whole new environment and, as other advanced IDEs, requires some learning.

I recommend the book Xcode 4 Unleashed by Fritz F. Anderson I've purchased thanks to contributions.

Enjoy :wink: