Provisioning Profiles (Ad-Hoc) not showing

You must Login before you can answer or comment on any questions.

Hi,

I need to distribute an ad-hoc binary. The problem is, my ad-hoc provisioning profile is not showing up in the drop-down menu. If I open "Preferences -> Aptana Studio -> Titanium -> iOS Platform" I see all my ad-hoc certificates. In the drop-down menu in ad-hoc distribution only my development provisioning profiles.

I've attached some screenshots to make it a little bit more clear. Maybe someone else can confirm this? is there some fix, some JIRA ticket?

It is really urgent.

Information about my system:

  • Mac OSX 10.7.4
  • Titanium Studio (2.1.0.201206251749/ 2.1.1.201207171343/ 2.1.1.201207241902) (I've tried als release from http://preview.appcelerator.com/studio/; no nightly)

Thanks for all your help!

8 Answers

For those who, like me, find their way here due to the more recent titanium 3 provisioning issues:

Finally found a solution to this, in, of all places, the changelog for 3.0.1

So this WAS an issue which was broken in 3.0.0 and fixed in 3.0.1

However, compounded onto this was the fact that as part of the version 3 upgrade. they changed some of the dependancies of the provisioning stuff under the hood.

All you need to do is get the the python modules for OpenSSL and crypto. I found the easiest way to do this was (after installing the Xcode command line tools) using MacPorts.

Have you imported your ad-hoc certs into Xcode, restarted Titanium Studio and looked again?

— answered 10 months ago by Stephen Feather
answer permalink
12 Comments
  • I've just cleared all certificates und clicked on "refresh" in xcode and downloaded all the certificates again. (while titanium was shutdown). Restarted IDE and tried my luck again - no luck. Still only distribution profiles.

    — commented 10 months ago by Lutz Bayer

  • Create a new project with the same app id, do a test publish to see if the profile you want comes up.

    — commented 10 months ago by Stephen Feather

  • I'm not sure when the com.appcelerator.titanium.core.prefs is updated, but it contains a list of all the available profiles (found in .settings folder within each project)

    • maybe backup that file, delete it, restart titanium/rebuild project see if its rebuilt.
    • maybe manually add your profile to that file see if it gets picked up

    — commented 10 months ago by Stephen Feather

  • Show 9 more comments

when I try to load the adhoc profile using the "provisioning wizard" I'll get "specific provisioning profile is invalid or wrong type". It stil doesn't appear in the drop down list. It is valid because I can use it in xcode.

— answered 10 months ago by Michael G
answer permalink
1 Comment
  • I'm having the same issue. I have no idea what caused it. I'm looking for a solution as well.

    — commented 9 months ago by Michael Stelly

Having the same problem.

Tried removing the workspace and importing again.

Deleting .settings/com.appcelerator.titanium.core.prefs seems to leave it deleted. It never gets re-created. Copied it from another machine which has everything in the same locations and still no luck!

Also have this issue with AppStore Distribution. Suggested solutions didn't solve it.

— answered 6 months ago by Christoph Ehringer
answer permalink
1 Comment
  • Christoph, we have this ticket for tracking the problem: https://jira.appcelerator.org/browse/TC-1616

    We have a potential fix available on the beta (3.0.1) stream. See the ticket for more info

    — commented 6 months ago by Nam Le

Um. So 4 weeks later I am still having this problem. Running 3.0.1. I cannot install Provisioning Profiles. It is blocking me from publishing an update to this App Store and I am very upset.

Whats the story?

How can I get back to 2.1.2. That worked fine.

Please help.

A work around – Build in Xcode

1 Build the project in Titanium

  • The project files are created in the ProjectName/build folder as usual

2 Go to the build folder and open the project in Xcode

  • (You can double click the Xcode project file: ProjectName/build/iphone/[ProjectName].xcodeproj)

3 Choose the menu option Product › Archive in Xcode

  • The project it is built and exported to the Xcode organizer archive which opens automatically

4 Select the build in Xcode Organizer › Archive and choose <Distribute...>

  • choose appropriate action (Ad-Hoc deployment for Testflight, Submit for App Store)
  • correct provisioning profile (which you should already have added to Xcode organizer)

You're done!

This works for Testflight so I am guessing it will work for distribution too.

Good luck, Sebastian

Your Answer

Think you can help? Login to answer this question!