Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AdHoc provisioning - what's the easiest way to add a few more devices to an existing project that's still in development?

I have a project that I've been working on for a while. It is a standard Xcode/Objective-C iPhone app. I created the provisioning file for my device and a couple others. Now I would like to add a few people as testers.

Do I need to download and install a new provisioning file?

Do I need to change settings in Xcode?

What's the easiest way to do all this?

Thanks!

like image 622
me. Avatar asked Oct 06 '09 23:10

me.


3 Answers

You will need to create, download, and distribute a new .mobileprovision file, and reconfigure your project to use it:

  1. In the iPhone Developer Program portal, add the new devices.

  2. Edit your existing ad hoc distribution provisioning profile and check the boxes to add the new devices to the profile.

  3. Refresh the Distribution tab for a few seconds until the profile status changes from Pending to Active.

  4. Download the modified .mobileprovision file, and install it by dragging it onto the XCode or iTunes icon in your dock.

  5. In XCode, right click on your target, do Get Info -> Build, and change your Configuration to Distribution.

  6. Change the setting under Code Signing Identity -> Any iPhone OS Device to use your new provisioning profile. Pay close attention to the dates in the list and make sure you use the most recent copy.

  7. Distribute the new .mobileprovision file to your users with your next ad hoc build.

like image 111
cduhn Avatar answered Oct 15 '22 21:10

cduhn


You don't have to recompile your project again. In fact you don't even have to open XCode.

All you have to do is create a new mobileprovision file and distribute it with the existing app.

Your end users have to download and install the new mobileprovision file and app, by this order.

Here is a step-by-step.

like image 26
hugomau Avatar answered Oct 15 '22 20:10

hugomau


Unless the other people are iphone developers with their own development profile, you will need to make an ad-hoc profile and build.

It is pretty easy... just follow the instructions in the developer portal. All you have to do is clone your release configuration, change a few lines and add a plist entitlements file (all provided in the instructions). Then just send the tester the build and the provisioning profile you create with their device-id included and they should be able to drag it into itunes to install.

If they are developers and people you trust, just give them the code and have them change the Bundle Identifier to whatever is in their development domain.

like image 1
coneybeare Avatar answered Oct 15 '22 21:10

coneybeare