Search code examples
iphonedownloadinstallationicloudtestflight

Unable to Download Application - "APP" could not be downloaded at this time


I have a "PLUS" version of my app and the regular version. I archive both of them using different targets. I upload the ipa's to TestFlight (also to my Hockey server) and the "PLUS" version always downloads just fine. But the regular version always give me the "Unable to Download Application" error.

I'm not changing the code at all between the two builds. I do a "clean" in between builds. The only difference in code is I define a "PLUS_VER" macro that changes some of the code. And there are a few differences in resource files associated with the two targets. This used to never happen, but this issue has been consistent across every time I've built with this current version.

Any ideas?

<><


Solution

  • thanks for the tip on looking at the console. While it was installing I saw that the provisioning profile didn't agree with the iCloud ubiquitous key-value store entitlement. We're enabling iCloud with this release.

    I went in and "edited" each provisioning profile (essentially doing nothing....) and re-downloaded them and it fixed the problem.

    Kind of annoying that Apple doesn't invalidate your provisioning profile or let you know it needs updating at least... :-/