Packaging distribution IPA using clients Certificate and Profile

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

We have been developing an iOS app for a client using our own apple certificate and profile. Our client has now supplied their own Certificate and Profile so we can build final distribution app. Titanium only seems to create a xarchive file and opens it in Xcode. The client needs an IPA, they don't have Xcode, they don't even have Macs. How can I create a distribution IPA using clients Certificate and Profile?

6 Answers

Hello, do you want .ipa for distibution on app store :-

Than follow this steps:-

  • For Submission you must use Distribution certificate.
  • When you build Using Distribute from Titanium it just opens Xcode.
  • Now navigate to Windows -> Organizer.
  • Archives tab will show you the list of Archives that were generated during your previous builds, so choose the one with the latest Date/time.
  • Selecting the Latest Archive will display 3 buttons at the top(don't worry if you Don't see your App icon).
  • First we must validate the App.
  • During validation it will ask you for your Apple Developer Credentials and the bundle identifier for the App.
  • It will verify this against the ones that you entered on the itunes connect portal.
  • After Successful validation you can Either Share for Ad-hoc Distribution or Submit the App.
— answered 10 months ago by Moiz Chhatriwala
answer permalink
3 Comments
  • By following this steps you can build for Ad-hoc Distribution or Submit the App ...

    Hope this helps you.

    Good Luck !

    — commented 10 months ago by Moiz Chhatriwala

  • Thanks for the quick response. Yes, we need ipa for distribution on Apple App Store. The Distribution certificate belongs to the client, they won't want to give me their login details, they are a large company with many suppliers. So, I can't validate it in Xcode. My developer login won't work if the app is built using the clients certificate and profile. They will need to submit it themselves, so I need to supply IPA signed with their certificate. Any more ideas?

    — commented 10 months ago by Kirk Goble

  • So ask them to provide you certificates , you can add the certificate provided by client into your keychain ...

    — commented 10 months ago by Moiz Chhatriwala

Thanks Moiz and Nikhil for your responses but I'm still stuck. Here's what I've done so far.

  • Installed clients Certificate in Keychain
  • Built app using the installed client certificate and supplied Profile, Publish > Distribute - Apple App Store
  • This built without errors and opens in Xcode Organiser - but it's a xarchive file not an ipa.

I need an ipa for the client to do the App Store submission. I can't do the validation or submission because it was built using client certificate, for which I don't have the password. The client can't validate and submit from Xcode as they don't have Xcode - they're not programmers.

I didn't really want to go down the Xcode route as we will have quite a few of these apps to build and not all our developers are familiar with Xcode.

Sorry to be repetitive, I'm just making sure I haven't missed anything.

Any more ideas?

— answered 10 months ago by martin wright
answer permalink
1 Comment
  • Martin, check out the diary of a code money link I've posted above in my earlier answer. That should help you out from the XCode organiser.

    — commented 10 months ago by Nikhil Nigade

Install your client's Certificates and Profile on your mac. Then from titanium studio: in the sidebar, above your project browser, there should be a box like icon. Clicking on that shall reveal two options: Package for Ad-hoc and package for submitting to the App Store. Select the option that applies to you. This will create a .ipa file for you.

If that doesn't work out for you, Titanium creates a .xcode file under the build folder. Open the xcode project and then follow this: http://diaryofacodemonkey.ruprect.com/2011/03/18/ad-hoc-app-distribution-with-xcode-4/

— answered 10 months ago by Nikhil Nigade
answer permalink
2 Comments
  • Thanks for the quick response. I selected 'Distribute - Apple App Store' when building the app. But this doesn't create an IPA - only a xarchive which opens in Xcode. I need an ipa. I didn't really want to go down the Xcode route as we will have quite a few of these apps to build and not all our developers are familiar with Xcode. Any more ideas?

    — commented 10 months ago by Kirk Goble

  • In that case, follow the steps mentioned, by moiz chhatriwala, above.

    — commented 10 months ago by Nikhil Nigade

To follow on from the diaryofacodemonkey suggestion, I have Xcode 4.3.x where there is no 'Share' button - only Validate and Distribute.

If I click 'Distribute', then 'Save for Enterprise or Ad-Hoc Deployment', can the client use this saved ipa for App Store submission?

— answered 10 months ago by martin wright
answer permalink
4 Comments
  • Negative. That build is only for ad-hoc or enterprise distribution, as mentioned.

    As the article mentions, you must archive your project. The project, post archiving, can be packaged into an .ipa The share button will appear in Organizer, not the Xcode (developement) window. cmd + shift +2 to bring that window up.

    — commented 10 months ago by Nikhil Nigade

  • There is no Share button, see link here: Organizer screenshot

    I'm using Xcode 4.3

    — commented 10 months ago by martin wright

  • This is weird. Try validating it first. If that doesn't work, then sorry, but I can't help you further. This is beyond my scope. Maybe a titan could help you out from here.

    — commented 10 months ago by Nikhil Nigade

  • Show 1 more comment

The workaround in this stackoverflow post seems to work: http://stackoverflow.com/questions/9762068/no-share-button-in-organizer I'm on Xcode 4.3, so no more SHARE button. The above workaround let me choose the client's Distribution Certificate and Distribution Provisioning Profile to generate the .ipa from the archive. Hopefully, this won't cause any problems on the Application Loader / iTunes Connect end of things.

Your Answer

Think you can help? Login to answer this question!