Problems associating custom footprints to symbols

If the libraries are otherwise correctly set up, How does KiCad know which symbol pin represents which pad of the footprint? has probably the solution.