when download macOS Mojave from Apple Store, it always download smaller installation app around 14MB, there are few ways to download full package before building up iso image.
you can click /Applications/Install macOS Mojave.app to start installation, it will download full package to /Applications/macOS \Install \Data, quit or abort before real installation; then move files under /Applications/macOS \Install \Data to /Applications/Install\ macOS\ Mojave.app/Contents/SharedSupport/ .
download and install http://dosdude1.com/mojave/, it used to build usb installer disk but also it has feature to download full package, you will find from menu Tools/Download macOS Mojave, place to folder like: ~/Downloads/Install macOS Mojave.app.
oldhorses-Mac:~ oldhorse$ curl https://raw.githubusercontent.com/robertluwang/macnotes/master/macos_mojave_iso.sh -O
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 541 100 541 0 0 686 0 --:--:-- --:--:-- --:--:-- 686
oldhorses-Mac:~ oldhorse$ sh -x ./macos_mojave_iso.sh
+ hdiutil create -o /tmp/Mojave.cdr -size 7000m -layout SPUD -fs HFS+J
.................................................................................................................................................................
created: /tmp/Mojave.cdr.dmg
+ hdiutil attach /tmp/Mojave.cdr.dmg -noverify -mountpoint /Volumes/install_build
/dev/disk2 Apple_partition_scheme
/dev/disk2s1 Apple_partition_map
/dev/disk2s2 Apple_HFS /Volumes/install_build
+ sudo '/Applications/Install macOS Mojave.app/Contents/Resources/createinstallmedia' --volume /Volumes/install_build
Password:
Ready to start.
To continue we need to erase the volume at /Volumes/install_build.
If you wish to continue type (Y) then press return: y
Erasing disk: 0%... 10%... 20%... 30%... 100%
Copying to disk: 0%... 10%... 20%... 30%... 40%... 50%... 60%... 70%... 80%...
Making disk bootable...
Copying boot files...
Install media now available at "/Volumes/Install macOS Mojave"
+ mv /tmp/Mojave.cdr.dmg /Users/oldhorse/Desktop/InstallSystem.dmg
+ hdiutil detach '/Volumes/Install macOS Mojave'
"disk2" unmounted.
"disk2" ejected.
+ hdiutil convert /Users/oldhorse/Desktop/InstallSystem.dmg -format UDTO -o /Users/oldhorse/Desktop/Mojave.iso
Reading Driver Descriptor Map (DDM : 0)…
Reading Apple (Apple_partition_map : 1)…
Reading (Apple_Free : 2)…
Reading disk image (Apple_HFS : 3)…
..............................................................................................................................................................
Elapsed Time: 2m 42.605s
Speed: 43.0Mbytes/sec
Savings: 0.0%
created: /Users/oldhorse/Desktop/Mojave.iso.cdr
+ mv ~/Desktop/Mojave.iso.cdr ~/Desktop/Mojave.iso
+ rm /Users/oldhorse/Desktop/InstallSystem.dmg