I've got an app that my client reviews continuesly via an distrubited ad-hoc* (mailed x.ipa + x.mobileprovision file) on every major development step. This has work just fine until the mobileprovisioning profile was outdated in august.
But it was not possible to just "renew" it i Xcodes Organiser window. Read some related posts but not found any answers to this yet.
Known changes to my Dev. envoirement:
The only changes I know happend since my client got his last working ad-hoc beta (created in the exakt same way*) is;
SOLVED! Will come back this weekend when I got more time and explain how and what was wrong in my Xcode and setup. Might be useful if someone else gets into the same frustrating trouble...
UPDATE w solution:
The solution to my problem described above was;
After a LOT of trail and error on this last week, I finally solved this.
1) Make sure you have the correct UDID in Xcode > Organizer > Devices.
Fetch your testers latest UDID . I used the free app "UDID Finder" that did just that nicely (http://itunes.apple.com/se/app/udid-finder/id384382012?mt=8).
Add / update the UDID's manually to the iOS Provisioning Portal online.
Then refresh your local Xcode > Organizer > Devices.
2) Make sure your provisioning & distribution profiles are up to date in the iOS Prov. portal.
3) Check your Xcode > Build settings
In your App > Choose top/root row (the hole project) > TARGETS > Your App > Build Settings > Code Signing > Code Signing Identity;
Make sure "Debug" has "[b]iPhone Developer[/b] + you provisioning profile" chosen and
for "Release" has "[b]iPhone Distribution[/b] + your distribution profile" choosen. Also see example screendump attached.
A great link on the above (Apple Dev Forum); https://developer.apple.com/legacy/library/technotes/tn2250/_index.html
My ad-hoc distribution to betatesters now works just fine. Hope this helps others :-)
Conclusion: I believe the cause of the problem was that Xcode 4.4.1 (and maybe also the Xcode 4.5DP?) by default have set the building settings to some "wrong" defaults for me, which prevented me from distributing ad-hocs to my betatesters via mail.