How to Fix USB Port Issues. When your USB ports suddenly stop working, the problem can always be tracked down to either a ...
If your iPhone got wet recently, drying its Lightning or USB-C connector properly should help get rid of the alert. If your iPhone's connector is not wet at all, try using a different charging cable.