If you are just starting a new project, it's important to think about how you want to handle code signing.
If you are new to code signing, check out the WWDC session that describes the fundamentals of code signing in Xcode.
To properly code-sign your app, you have to have the following resources o...