Where is the distribution provisional profile?

Hi!

When I want to build my app with distribution profile that I cant because I cant see in the Code signing Identify box the distribution profile, just the development. How can I get this profile to build a distribution version.

distri_www.kepfeltoltes.hu_.jpg

I presume you have already downloaded a distribution profile from iTunes to your Mac?

You probably just need to restart Corona. For some reason Corona doesn’t detect profiles that are installed while it is running.

No, I dont downloaded the distribution profile from iTunes. But I can see the distribution profile in the Xcode when I go to build settings. Idk but how can I download the profile from iTunes, do you have got a tut or link?

You may have synched it automatically in Xcode, which does the same thing as downloading it yourself.

Can I just check, when you say that you can see it in build settings in Xcode are you seeing a distribution provisioning profile, or just your distribution certificate?

The certificate is just something that says “yes, boros.tamaska is allowed to build apps to release on the app store”.

The provisioning profile is what you need to build each individual app (i.e. myFirstGame.mobileprovision would allow me to build myFirstGame, but not mySecondGame).

This blogpost has a pretty good tutorial:

http://codenameone.blogspot.co.uk/2012/05/creating-ios-iphone-provisioning.html

Just remember: once you have set it up in the provisioning portal (or whatever it’s called now), download it, double click it to install, then restart Corona.

this is what I see in Xcode:

166591626N_vtelen_www.kepfeltoltes.hu_.j

Ok, in Xcode click Window(in the toolbar) -> Organizer.

In the Organizer, click Provisioning Profiles in the top left corner.

Do you see a provisioning profile listed there?

It’s been a while since I’ve used Xcode, I have a feeling that if you have ANY distribution profiles then Xcode will default to one it thinks is suitable, so I wouldn’t put too much faith into the screen you were looking at.

in the organizer:

2793977562_www.kepfeltoltes.hu_.jpg

2724973341_www.kepfeltoltes.hu_.jpg

OK. So this tells me that you do NOT have any distribution profiles installed. What you have there is a generic profile, not one that belongs to a particular app.

Follow the tutorial I posted earlier:

http://codenameone.blogspot.co.uk/2012/05/creating-ios-iphone-provisioning.html

and that will take you through how to set one up in the dev portal: https://developer.apple.com/devcenter/ios/index.action

Okay, thanks… now i am working, but when i finish, i will try this! :smiley:

Hi all,

For your future reference, I have updated our own iOS Provisioning guide/tutorial here:

http://docs.coronalabs.com/guide/distribution/iOSBuild/index.html

This is updated to reflect all of the interface/setting changes that Apple initiated a couple months ago. However, if you notice anything in the guide that’s incorrect or unclear, please let me know… this process is too important to introduce confusion into the mix at the base level. :slight_smile:

Happy provisioning!

Brent

Great Tutorial! Now I can see the distribution profile when i want to build. But after that  I click the build button i have got this error message:

Screen_Shot_2013-06-11_at_19.52.31_www.k

Okay … Evrythings fine, I solved the problem.  I had 2 certificates with the same name. :smiley:

I presume you have already downloaded a distribution profile from iTunes to your Mac?

You probably just need to restart Corona. For some reason Corona doesn’t detect profiles that are installed while it is running.

No, I dont downloaded the distribution profile from iTunes. But I can see the distribution profile in the Xcode when I go to build settings. Idk but how can I download the profile from iTunes, do you have got a tut or link?

You may have synched it automatically in Xcode, which does the same thing as downloading it yourself.

Can I just check, when you say that you can see it in build settings in Xcode are you seeing a distribution provisioning profile, or just your distribution certificate?

The certificate is just something that says “yes, boros.tamaska is allowed to build apps to release on the app store”.

The provisioning profile is what you need to build each individual app (i.e. myFirstGame.mobileprovision would allow me to build myFirstGame, but not mySecondGame).

This blogpost has a pretty good tutorial:

http://codenameone.blogspot.co.uk/2012/05/creating-ios-iphone-provisioning.html

Just remember: once you have set it up in the provisioning portal (or whatever it’s called now), download it, double click it to install, then restart Corona.

this is what I see in Xcode:

166591626N_vtelen_www.kepfeltoltes.hu_.j

Ok, in Xcode click Window(in the toolbar) -> Organizer.

In the Organizer, click Provisioning Profiles in the top left corner.

Do you see a provisioning profile listed there?

It’s been a while since I’ve used Xcode, I have a feeling that if you have ANY distribution profiles then Xcode will default to one it thinks is suitable, so I wouldn’t put too much faith into the screen you were looking at.

in the organizer:

2793977562_www.kepfeltoltes.hu_.jpg

2724973341_www.kepfeltoltes.hu_.jpg

OK. So this tells me that you do NOT have any distribution profiles installed. What you have there is a generic profile, not one that belongs to a particular app.

Follow the tutorial I posted earlier:

http://codenameone.blogspot.co.uk/2012/05/creating-ios-iphone-provisioning.html

and that will take you through how to set one up in the dev portal: https://developer.apple.com/devcenter/ios/index.action

Okay, thanks… now i am working, but when i finish, i will try this! :smiley: