I was working on my application and i started out with a really bad name. So i decided to change it. I did that like this.
By deleting the derived data Xcode will recompile and regenerate the data for you.
You can do that by going to: Windows -> projects Delete derived data