Wednesday, February 03, 2010

Modifying add hoc users

If you add users to your original beta you will want to know this. From the iPhone developer page, go to the following:
Provisioning -> Distribution
Edit -> Modify (assuming you have one, or make one at this point)
Select your new people (I name this with the beta they are in as part of their name for reference)
You will need to download this file (it should say pending right now).

Note: Don't do like me and go to another page for a second and then come back and forget to click the "distribution" tab and end up downloading my development certificate again and wondering what the heck was going on.

Now follow the directions below. Good luck!


This is a GREAT write up on doing add hoc and I did a direct Cut and Paste from the blog at JohhnyWorks:

"One more thing that caught me over and over again: don’t forget to increment the version number in your info.plist file before giving Ad Hoc users a new copy! iTunes is really sneaky about what happens here…in both cases it says the application is already installed, and asks if you want to replace it, but if you try to replace with the same or lower version number, it won’t actually do anything.

If you are getting

Application was not installed on the iPhone because it could not be verified.

then your profile isn’t valid and you should check out this post. This biggest thing to remember is

  1. Delete all the profiles stored in ~/Library/MobileDevice/Provisioning Profile.
  2. Double click your .mobileprovision file and it will get loaded into XCode - There is a chance that it will get loaded by another application. If that is the case, right-click it and open it with xcode.
  3. Quit XCode completely. I’m not sure why this is necessary, but often XCode refuses to build unless it starts up with the profile already ready.

Lastly, ensure not only that Entitlements.plist is included in your project (click File, New File, Code Signing, Entitlements), and that get-task-allow is unchecked, but in your “Ad Hoc” build profile (Project, Edit Active Target) expand the list to “All Settings” make sure the “Code Signing Entitlements” field is filled out with your “Entitlements.plist”."

No comments: