upload app to app store not working, please help

Hey guys, well as you can guess from the subject today I am hoping to upload my app to the app store. Yay! one problem, I have downloaded all the certificates but and provisioning profiles but I don't know how to make or match the keys, and I don't know what that means. any help would be much appreciated before I rip out all the hair I have left. thanks.
SM
SM
Comments
Make sure you know for sure which one is your distribution profile. In the second window in the GameSalad Publish process, the first option on the left is provisioning profile…make double sure you select the DISTRIBUTION profile and not the developer profile, because they will both be a selectable option, then click the advanced options tab and make sure it is the correct bundle identifier that you made in iTunes Connect. (It will be the com.yourname.gamename thing you made that ID's the app)The rest of the process is self explanatory until you get to application loader.
And what version of Xcode are you using at the moment?