APP-30
“The iPhone or iPad didn't finish installing the app”
Why it happens
The file didn't fully reach the device, the device refused the installation for another reason (not enough space, a test app with Developer Mode off) or didn't answer in time
What the program does on its own
Check the free space and, if it's a test app, turn on Developer Mode in Settings › Privacy & Security. Then try again. If an icon got stuck on the Home Screen, touch and hold it and choose Remove App
How the program detects it (technical detail)
A check of the file size on the device and, after the installation, a check that the app shows up in the device's list