Chosen Solution
I can’t hear my music through my headphones (have tried several pairs), but I can hear music through the inbuilt apple speakers.
This is going to sound strange, but I’ve noticed that my iPhone gets lots of fluff and so on in various ports since I keep my iPhone in my jeans pockets. Maybe your jack is blocked?