Are you copying the profile to your ~/Library/MobileDevice/Provisioning Profiles/ folder and restarting Corona?
Does Corona present you with the distribution profile to use?
Keep in mind Apple has three types of profiles:
Developer
Distribution (AdHoc)
Distribution (Store)
In their interface, they only show two and when you go into the Distribution one, you can pick for the store or AdHoc, but if you don’t name your profile indicating that it’s AdHoc or Store, there is no way to know because it will just say distribution. I always make sure to explicitly name my profiles:
My Awesome Game (Developer)
My Awesome Game (AdHoc)
My Awesome Game (Store)
that way there is no ambiguity on which distribution profile is which.
Now some people will let Xcode manage the download and storage of the profiles. But when you do, you end up with filenames like:
f3e44b5f-c6d9-41e4-9f14-7d0cf6dee834.mobileprovision
Where as if you, from the developer portal choose “Download”, you get names like:
Alien\_Invasion\_AdHoc.mobileprovision Alien\_Invasion\_iOS\_Distribution.mobileprovision
But you have to be a little command line friendly or know how to use finder to get to ~/Library since Apple tries really hard to hide that folder from Finder. The command line is quite easy to do for this. Download your profiles using the Download folder. They **should** end up in your ~/Downloads folder unless you’ve told your browser to do something else. I’m assuming you’ve not changed this.
Open the Terminal (click on the Spotlight magnifying glass and type “terminal” and hit enter. In the window that opens, type:
cd ~/Library/MobileDevice/Provisioning\ Profiles mv ~/Downloads/\*.mobileprovision . ls -l
This will take you the right folder, move the files you downloaded from Downloads to the right place
and then the ls -l will give you a list of the files that are there.
Close the terminal, restart Corona and all your current profiles should be available to choose. If you named them appropriately you should be able to see them in the directory list and with the more human readable name you used in the developer profile.
Make sure you pick a “For the Store” profile and you should be good to go.
Rob