Really odd issue. I had IOS 12 downloaded and haven't updated to the latest beta version IOS 13 and pop up shows every time to update your iPhone and once I did the battery dies and my phone stuck there and after show the screen to attach with iPhone need to restore.
The problem starts here when I connect iPhone to iTunes and at first, it starts syncing but (updating through iTunes) but after a few minutes, it just disconnects without updating the software.
PS: I've tried to restore it but that couldn't work either.
Anyone had this issue?