Arduino on Xcode Project — Official Thread

avenue33:
embedXcode is provided with the path to the tool-chain and no specific operation is carried out concerning one specific file. It is really strange as other files are used.

I need the code of the project to investigate and see what's happening.

It happens when creating a new project. Just put the panstamp library in your libraries folder and create a new project and you should get the same error. Panstamp library is located here:
http://code.google.com/p/panstamp/downloads/detail?name=panstamp_arduino_1.0.zip&can=2&q=