Every hacker has an assortment of USB to TTL-serial adapters kicking around in their lab, and we have all been annoyed that each one has a different pinout ... so that each cable is always ...
the Lightning port is now replaced by USB-C. But for iPhone versions 5 to 14, Lightning is the port you need a cable for. If you still have a charger with a USB-A port, consider upgrading to a USB ...