iosxcodeios5provisioning

Can't update app betas to my beta-testers anymore (Ad-Hoc)?


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;

Done this:

The app "works" this far: it can be transfered via mail to betatesters iTunes > Syncing to testers iPhone > and seems to install on iPhone, but just as it finished installing (progressbar on app icon goes away), then the beta app gets taken away. Can't even be found via search on the phone.

= This tells me it's not the app itselfs that is wrong but rather something with my provisioning certs from Apple or the dev portal or my Xcode. But which or what is it?!

*(Build app > Archive > Distribute > Betatest provisioning profile (x.mobileprovision) + x.ipa mailed to client)

**Also related;

When hitting the Refresh button in Organizer, all my profiles are valid (green) but I get this strange message; "Your team ha no devices for which to generate a provisioning profile. Please connect a device to use for development or manually add a Device ID using the Provisioning Portal" Https...." As far as I can see, I've got my dev iPhone connected and "green" under Devices on the left side of the Organizer. It's also included in my profiles.

FYI:

Could anyone help out please?

Been at this for days now, tryied many things, but just can't get it to work. Client's getting frustrated to! Also seem like I'm not alone on this - others also seem to have this problem. Thank's :-)

P.s. Maybe should mention that the beta app works fine on my dev iPhone...

This topic is also on Apple Dev Forum: https://devforums.apple.com/thread/164981?tstart=0


Solution

  • 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.

    2) Make sure your provisioning & distribution profiles are up to date in the iOS Prov. portal.

    3) Check your Xcode > Build settings

    screendump
    (source: meetup.com)

    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.