I created an App to burn all 4 CDI file types on Macs, because I found there is no good software for Macs that does all of the below:
WAV in an ISO+ISO data
WAVs in an ISO (CDDA)+ISO data
WAV+ISO data
WAVS (CDDA)+ISO data
The script the app runs can easily be changed to work on Linux, BSD, etc. The App is compiled for Mac OS X 10.3.9 G3-G4-G5. Should work on Intel Macs with Rosetta. If you build from source on a newer Intel Mac it should work on 10.7 and above.
https://macintoshgarden.org/apps/dreamc ... r-mac-os-x
EDIT: New Official Website and Linux/Mac versions are at https://alex-free.github.io/dcdib/