Search code examples
iphoneipadxcode4publish

Distribute application via ad hoc iPhone/iPad


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:

enter image description hereenter image description here

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:

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

I did not know how to delete these profiles:

enter image description here

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:

enter image description here

enter image description here

and when I run it in the simulator I get:

enter image description here

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)

enter image description here

enter image description here

enter image description here

enter image description here

and then I have imported that certificate:

enter image description here

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

enter image description here

so far I am done with my development certificate.

I will go ahead and perform the same steps but with the Distribution Certificate:

enter image description here

..

...

...

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

enter image description here

enter image description here

.

.

ok now let me add "my friends" UIID number:

enter image description here

enter image description here

.

.

now I will create my app id:

enter image description here

enter image description here

.

.

know I am ready to create a distribution provisioning profile:

enter image description here

enter image description here

enter image description here

.

.

.

ok know from looking at this list:

enter image description here

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:

enter image description here

and finally I have those files on the windows computer:

enter image description here

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

enter image description here

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:

enter image description here

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

enter image description here

the instructions that I read from:

enter image description here

never mentions nothing about the build part on settings!


Solution

  • Did you check that the app is correctly signed?
    Is it using the correct Code Signing Identity under your Project Settings?