Why do you need a headphone jack? Any DAC in a phone is going to be useless if you’re saying because of HiFi Audio. And when it comes to using a HiFi DAC I’d much rather just use a USB-C powered port for my headphones.
iOS is based off of Darwin which was based off of BSD Linux. So was MacOS for that matter.
Sounds like all the JavaScript I’ve ever seen.