[SOLVED] Hey guys, i had this problem too for a few days while trying to connect my iPhone 8 to iTunes. As you guessed it, click on install -> downloading item -> Installation failed. i am running the latest iOS 12.1 on my iPhone 8, latest MacOS Mojave 10.14.1 on my 27" iMac late 2013, and iTunes 12.9.0.164. All my Apps are updated as well.
Called Apple support, was told to Reset NVRAM and Systems Management Controller (SMC), and to check that my date and time was set correctly on my iMac. Was told to try different cables to connect my iPhone 8 to iMac, used my old original apple cable from my iPhone 6. All these DID NOT WORK.
I downloaded Xcode as well. DID NOT WORK too.
So i read here that some guys used different cables (no brand) and it worked. So i remembered i have another original apple cable in my car, gave it a last try and this time it WORKED. Finally i could connect my iphone 8 to iTunes. Previously i could have used my wife's iPhone 7Plus cable and it did not work.
So the moral of the story is -> try using different cables and try different methods because YOU NEVER KNOW!
Good Luck!!