views:

983

answers:

2

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!

+1  A: 

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.

coneybeare
+3  A: 

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.

cduhn