I'm ready to submit my first unity iphone game to the app store and i've gone through the iTunes Connect stage and have created a new app listing with my description, screenshots, icon etc. The only thing left for me to do is upload the app binary (zipped up i believe). When I tried uploading the zipped .app file, apple gave me the following error:
"The binary you uploaded was invalid. The signature was invalid, or it was not signed with an Apple submission certificate."
After getting this error, I discovered that in the dev center I need to set up a distribution profile, which I have now set up and installed. I then re-built my game, zipped up the .app and tried to upload again, but i'm still getting the same error once it's uploaded.
Am I supposed to do any configuration in Unity3D after creating the distribution provisioning profile or should Unity do it's thing automatically once the profile is installed on this machine?