If you keep seeing this error whenever you try to connect it with a lightning cable or accessory, it means there is still water in the iPhone lightning port. In other cases, the cable or accessory has a fault. You can try the fixes discussed above, but if that doesn’t resolve your issue even when the iPhone is dry as a desert, contact Apple Support for further assistance.