Arduino on Xcode Project — Official Thread

Hi everyone, I've been recently using embedXcode for some Arduino related projects. as you all know that code sense is not an option u can get in the arduino IDE. thats why i was trying to use embedXcode as it gives you the freedom to get the code sense of Xcode along with the other functionalities in Arduino IDE.

Now the problem I'm having is even though the standard C++ codes are recognised by Xcode, it can't yet recognise the Arduino specific codes for example in void loop(){} void is highlighted but not loop. in the same way while typing pinMo.. it's not showing any suggestions. As it was mentioned in the embedXcode tutorial, after running the automatic project configuration the code sense should work. But I couldn't figure out any solution. Am I doing something wrong or is there any little tweak i'm missing.

Please help me solve the issue