+2  A: 

Considering we don't know exactly what you changed, is reinstalling Xcode an option?

nall
sugar
It's probably a lot easier for you to just re-download the iPhone SDK and reinstall it. You could also install it on a different machine and just copy over the templates yourself.
Brad Larson
I have done the same. Thanks.
sugar