I just burnt an hour looking for an old-style iPhone/iPad/iPod cable

The cable is not a problem. It’s the message “device not supported” because Apple screwed with the USB standard and $APPLE_PRODUCT will only charge from an Apple PSU.