Expected behavior
[2021-01-13 00:59:43] Creating iso '/Users/jieniu/VirtualBox VMs/macOS-VM.iso.cdr'...
[2021-01-13 00:59:43] .
hdiutil: convert failed - Resource temporarily unavailable
[2021-01-13 00:59:43] line 420 - command '[ "$#" -ne 0 ]' exited with status: 1.
[2021-01-13 00:59:43] In :: called at line 0.
[2021-01-13 00:59:43] From function :: (line 0).
[2021-01-13 00:59:43] Look at /Users/jieniu/Library/Logs/runMacOSVirtualbox.log for details (or use Console.app). Press enter in the terminal when done...
Collecting system information...
Additional context
zsh is the default shell in Catalina. I had to use bash shell to execute make installer step.
As the first line of the script specifies the interpreter (#!/usr/bin/env bash), how did you manage to start it via zsh? By executing specifically zsh ./runMacOSVirtualbox.sh?
To Reproduce Steps to reproduce the behavior:
Expected behavior [2021-01-13 00:59:43] Creating iso '/Users/jieniu/VirtualBox VMs/macOS-VM.iso.cdr'... [2021-01-13 00:59:43] . hdiutil: convert failed - Resource temporarily unavailable [2021-01-13 00:59:43] line 420 - command '[ "$#" -ne 0 ]' exited with status: 1. [2021-01-13 00:59:43] In :: called at line 0. [2021-01-13 00:59:43] From function :: (line 0). [2021-01-13 00:59:43] Look at /Users/jieniu/Library/Logs/runMacOSVirtualbox.log for details (or use Console.app). Press enter in the terminal when done... Collecting system information...
Additional context zsh is the default shell in Catalina. I had to use bash shell to execute make installer step.