First, you'd better be using the latest xCode 4.x.
Here is the best text I've read going over the process.