looking for guide to publish to App Store from Xcode

I am having problems trying to get all the parts of my app registration, certification, etc so it can be submitted to the App Store. At the moment I have a message in Xcode about the provisioning profile not containing a specific certificate. I am not able to find that certificate and am stuck. I would like to follow a guide. Is there such a thing?