After almost no problems for 6 months, I suddenly have a major problem when trying to distribute an app for inhouse testing over OTA: while installing the app (after download) I get the below error message -> screenshot. All of my testers also see the same message, so it's not bound to a single device.
The console on the device shows the following message:
preflight_application_install: Could not verify executable at /var/tmp/install_staging.uNQth4/foo_extracted/Payload/myApp.app
The strange thing is: I can install the app over USB with Xcode. Also the validation for the AppStore upload is fine.
I already tried a lot:
Any idea to solve this would be very helpful. Thanks in advance.
After further investigation the problem - once again - was caused by an invalid combination of Developer Provisioning Profile and Ad Hoc Distribution Profile. The problem was, that even the usual fixes didn't work (exchanging certificates etc.). Xcode always showed valid profiles.
I have read a lots of post that recommend a complete reinstallation of MacOS with the goal to have a clean installation of the KeyChain. I didn't want to kill my customized MacOS, so I created a virtual machine of Mac OS 10.7.3 + Xcode using VMWare. Then it was like 20 minutes to set everything up and the OTA worked! I think, it's a good idea to have a clean virtual OS handy for this case.