ROS and XCode

Compile all your ROS packages as usual and make sure there are no more errors left

Because having too many packages in Xcode can be a bit overwhelming, I recommend to install all the unused packages to /opt/ros/indigo:

Remove the build, devel and the unneeded stuff from src

Then generate a Xcode project by:

you may have to do this every time you add a new package or add files to a package so define an alias:

Define an alias for starting ROS from the console in your .zshrc:

Start ROS from the console so that it gets its correct environment

If you get an error like this after linking:

Click Product->Scheme->Edit Scheme->Run „Target Name“->Environment Variables
and add DYLD_LIBRARY_PATH /opt/ros/indigo/lib

Bildschirmfoto 2014-01-14 um 13.08.55