Associating pin numbers in the schematic to the pin numbers of component

There is your problem. The pin numbers are what link from schematic symbol to pcb footprint, not the pin names. You don’t have to show the pin numbers, but they do need to be uniquely defined for each schematic symbol.

One trick for shielded connectors that I use: I have a single pin in the schematic symbol (I usually use pin number 0 for this) so I can choose if I want the shield connected to GND. Then in my footprint all the pads where the shield is soldered to the board (often at least 2 places) are defined with all the same pin number. It is perfectly fine to have multiple pads with the same number in the footprint, and they all will be connected to the net that the corresponding pin on the schematic is.