Cannot access provisioning profile when building for OS X

I have both a provisioning profile successfully installed on my Mac, which is a device added to the developer devices in the apple developer portal.

However, when I go to build for OS X the only provisioning profile I can select is “none”.

Has anyone encountered this? Is there some key difference between OS X and iOS provisioning that I have overlooked (I’ve developed and successfully sold several apps in the the app store for iOS using corona).

I have tried deleting and reinstalling everything several times, upgrading to the latest daily build of corona, etc., but no luck.

Regards,

Larry

When you say:

However, when I go to build for OS X the only provisioning profile I can select is “none”.

do you mean your profile is in the list but disabled (i.e. you can’t select it) or there’s nothing in the list besides “none”?

You have to download and (in my experience) manually install the provisioning profile file in “~/Library/MobileDevice/Provisioning Profiles” (copy it there from wherever your browser downloaded it to).  An OS X provisioning profile will have a  .provisionprofile extension rather than the  .mobileprovision one used for iOS.

If you have all that set up but still don’t see the provisioning profile in the Corona Simulator then check the Corona console for messages relating to the profile (perhaps you don’t have the appropriate private key installed).  The mechanism used to generate the list of profiles shown in the Corona Simulator is to simply enumerate the files with a  .provisionprofile  extension in the directory mentioned above (even if you don’t have the necessary private cert, the profile should show up in the list but disabled).  If you’re having trouble with certificates and private keys, please refer to the Xcode and Apple Developer documentation as we’re just implementing some UI for their signing scheme.

Thank you! Worked like a charm… at least for selecting it from within Corona. Now let’s see what the app store says.

(I gather there may be a way to do this from within xcode as well, but these are just whispers)

Dragging the profile on the Xcode icon works a well for me.

When you say:

However, when I go to build for OS X the only provisioning profile I can select is “none”.

do you mean your profile is in the list but disabled (i.e. you can’t select it) or there’s nothing in the list besides “none”?

You have to download and (in my experience) manually install the provisioning profile file in “~/Library/MobileDevice/Provisioning Profiles” (copy it there from wherever your browser downloaded it to).  An OS X provisioning profile will have a  .provisionprofile extension rather than the  .mobileprovision one used for iOS.

If you have all that set up but still don’t see the provisioning profile in the Corona Simulator then check the Corona console for messages relating to the profile (perhaps you don’t have the appropriate private key installed).  The mechanism used to generate the list of profiles shown in the Corona Simulator is to simply enumerate the files with a  .provisionprofile  extension in the directory mentioned above (even if you don’t have the necessary private cert, the profile should show up in the list but disabled).  If you’re having trouble with certificates and private keys, please refer to the Xcode and Apple Developer documentation as we’re just implementing some UI for their signing scheme.

Thank you! Worked like a charm… at least for selecting it from within Corona. Now let’s see what the app store says.

(I gather there may be a way to do this from within xcode as well, but these are just whispers)

Dragging the profile on the Xcode icon works a well for me.