Try using an original Apple Lightning cable instead of a third-party cable.