Suddenly my iPhone 6 will not charge using the Apple power cord. I have tried several different ones (all Apple) with the same result. I keep getting an error message that "the accessory may not be supported" However, if I power the phone off and plug in the same power cord, it will charge. As soon as I power up the phone, it ceases charging and give me the same message. Any ideas how to fix this issue?