Turning the iPhone on and off didn’t work, and the same error was appearing on a different Mac so I knew it was a problem with the device.
To fix it try:
- Synchronise your iPhone in iTunes.
- Delete the app you’re trying to install (if it already is).
- Synchronise again.
These should work on the iPad; or any iOS device.