“Most of the time, code signing seems like a magical machine that is hard to understand. I will try to shed some light on this machine.”
Couldn’t agree more. Although the post doesn’t include a how-to, it provides background information into the iOS code signing process. If you ever need to go beyond the basics, this is a good place to get the 30,000 foot view.