I traced the same bug report weeks ago, but didn’t reproduce it.
My suggestion is to try ./install-templates-xcode.sh uf, and select “4” to install xcode4 templates.
It copied all of the files over to the correct “xcode/Templates/cocos2d-x” directory. However, xcode 4.1.1 still doesn’t display the
templates. Perhaps its something about xcode 4.1.1 because it seems that other people are OK with xcode 4.1
If you have other ideas or should someone else on the forum come up with a solution, this would really be appreciated.