My wife and I have iPhone 6s and we noticed something odd recently. Three of our lightning cables have stopped working when plugged into the wall. We both get a message "This accessory may not be supported". These are not cables purchased from Apple, but they have worked until a few days ago.
However, when we plug the phone directly into our laptops using these cables, they still charge fine.
We have a fourth cable that seems to work perfectly, both in the wall socket and our computers.
Can someone explain why this is the case? Are these cables all broken, or is there a way to fix the three broken cables?
EDIT: Coming back to this question after a few weeks where I have some more information to provide. I don't think it changes the answer below, but it definitely raises more questions for me.
It seems that the problem occurs in my house only. These power cords seem to be fine in my office and in a few other places that I have tried. Also, some of the broken cords are original (but older) lightning cables and some of the working ones are knockoffs.
My guess is that the difference has something to do with the wiring in my home. And it's just pure luck that some cheaper cables work while others don't. I wonder if there is something about the wiring in my home that could be causing this.