I need to send an application to someone before submitting it to the app store. I have already sent the file and when my friend tries to sync the app iTunes says that a signature is missing. I don’t understand what I am doing wrong so let me show you all the things that I’ve done.
(I will demonstrate this with an iPhone app instead of an iPad app since I don’t have an iPad with me and I believe the process should be about the same).
so in order to be clear I want to start from the begining and I deleted all the certificates that I have created. so my keychain looks like:


so as you can see I don’t have any certificates nor keys so far. Moreover in my provisioning portal I have deleted all the certificates plus as many things as I could:





I did not know how to delete these profiles:

THE REASON WHY I TRY TO DELETE AS MANY THINGS AS I COULD WAS BECAUSE I WANTED TO MAKE MY SELF CLEAR HOPING YOU GUYS WILL UNDERSTAND MY QUESTION. I HAVE BEEN TRYING TO SEND THIS APP FOR A LONG TIME AND I WOULD GREATLY APPRECIATE IF SOMEONE COULD TELL ME WHAT AM I DOING WRONG.
anyways lets say that the app I want to send to my friend is the following:


and when I run it in the simulator I get:

ok so now everything looks great I am ready to send my friend this great app that I just build so I will go ahead and start creating the certificates so that he can install it in his computer:
(I don’t think I have to create this but I will)




and then I have imported that certificate:

ok now I click on refresh and add that new certificate to keychain access:

so far I am done with my development certificate.
I will go ahead and perform the same steps but with the Distribution Certificate:

..
…
…
the steps should be the same as for the last step. and I end up with:


.
.
ok now let me add “my friends” UIID number:


.
.
now I will create my app id:


.
.
know I am ready to create a distribution provisioning profile:



.
.
.
ok know from looking at this list:

I have completed steps 1,2 and 3 I believe. So I will then go ahead an send him FooApp.app and distribution provisioning profile:

and finally I have those files on the windows computer:

and when I drag them into iTunes and I sync the device I get the following error:

WHAT AM I DOING WRONG. I HAVE FOLLOWED THE INSTRUCTIONS FROM THE INTERNET AND I CAN MAKE IT WORK.
EDIT
I believe that my problem is in this part:

why does xcode says that no profiles currently match?????

the instructions that I read from:

never mentions nothing about the build part on settings!
Did you check that the app is correctly signed?
Is it using the correct Code Signing Identity under your Project Settings?