A common need: write a Linux or Windows ISO to a USB stick.
Unmount the disk and convert it to the final format: hdiutil detach /Volumes/Install\ macOS\ [Name] hdiutil convert /tmp/macOS.dmg -format UDTO -o ~/Desktop/macOS.cdr mv ~/Desktop/macOS.cdr ~/Desktop/macOS.iso 3. Versions and Availability iso macos
Use hdiutil to create a hybrid ISO (HFS+ISO9660): A common need: write a Linux or Windows ISO to a USB stick
are you trying to create an ISO for? I can provide the exact command strings for that specific version if you'd like. iso macos