I managed to create and download the development provisioning profile etc and get my app on my phone. Now I am trying to build it so that I can submit to the appstore.
I build a distribution provisioning profile. However, when I try to build it it says something about the provisioning profile not being on my phone. I don't understand this - I don't want to put it on my phone. I selected Device 3.1.1. | Distribution in the Xcode project. Surely I should not select Simulator?
When I look in Xcode organiser I see the profile there - but it explicitly states that it cannot be installed on a device. I think I would have had to select ad hoc for that.
Thanks!! That was the problem. Weird, I have got used to just clicking Build and Go, I never realised I could just click build. Even though I often check my code as I go along with Cmd_B which is the same thing. Thanks again.