Once you have the "Install macOS Mojave.app" in your Applications folder, follow these steps in Terminal to create a bootable ISO:
into the mounted volume: sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build Macos Mojave 10.14 4 Iso Download
May 2024 Target OS: Windows Hosts, VMware, VirtualBox, Older Macs Once you have the "Install macOS Mojave
sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/install_build Unmount and convert to ISO: hdiutil detach /Volumes/Install\ macOS\ Mojave Macos Mojave 10.14 4 Iso Download