title: uploading iphone application to the apple store
body: <p>I was trying to upload my app to the apple store and I faced some problems.
  First I made my app using iPhone SDK 2.2.1 then I upgraded to SDk 3.
  Then I generated a certificate from the keychain access and used it to generate the profile.
  when I changed the build SDK from simulator to device I got that error 
  "Code Sign error: The identity 'iPhone Distribution' doesn't match any valid certificate/private key pair in the default keychain".
  I have some questions regarding that:
  Can I make these steps without having a device connected to my mac? Because I don't have a device available right now.
  What are the changes I need to perform on the target build options?
  what is the possible reason for having that error?</p>
  
  <p>I would very much appreciate your help.
  thanks in advance,</p>
  
  <p>Sarah </p>