Question: what to do if your phone charger says accessory not supported?
Answer: Use the other original charging cable for your iPhone iPad.
Clean your Apple Accessory. ... 
Plug your charger in, when you get the error message press and hold your finger on the dismiss button and pull your charger out while still holding. ... 
Turn off the device with the Lightning plug attached, then restart.