The Asus Zenfone 9 has a headphone jack and is rate IP68 (up to 1.5m for 30 mins):
* https://www.asus.com/mobile/phones/zenfone/zenfone-9/
* https://www.gsmarena.com/asus_zenfone_9-11656.php
The iPhone 14 Plus is also IP68 (up to 6m for 30 mins):
* https://www.gsmarena.com/apple_iphone_14_plus-11862.php
GSM Arena's search criteria shows >200 phones that have 3.5mm jacks and IPx8 IP Certification: