Someone pointed this topic out to me. I'm answering it for the sake of anybody who searches, hits this topic and hasn't seen a solution.
The error is misleading and has *nothing* to do with downloading or the file being incomplete. It is not a bug in Stencyl.
It's a common error indicating that the provisioning profile, installed to the device or embedded in the app is incorrect/incompatible/expired. It's a shame that the iOS error message doesn't present this better.
Common causes
- The device you are installing on isn't included in the profile.
- The profile has expired.
- The profile was revoked.
- You embedded the app store profile, versus the ad hoc profile.
- The app you are building isn't part of the profile.