Which operating system are you trying to install?
macOS 14 Sonoma
Describe the bug
When installing macOS 14 Sonoma, it fails near the end (when it says "About 12 minutes remaining") after downloading and installing InstallAssistant.pkg, with the error message "An error occurred while preparing the installation. Try running this application again."
To Reproduce
Steps to reproduce the behavior:
- Run ./setupArch.sh
- Select option 7 (macOS 14 Sonoma)
- Boot into macOS Base System once the VM loads
- Open Disk Utility and select the 68 GB drive
- Select "Erase" and format it to APFS (default)
- Go to "Reinstall macOS 14 Sonoma" and start the installation process
- Wait until it reaches "About 12 minutes remaining"
- The error message should display
- Clicking "OK" takes you back to the recovery/setup options
Expected behavior
The installer finishes and I'm able to boot into Sonoma
Screenshots

Desktop (please complete the following information):
- OS: Manjaro
- Version: rolling release so no specific version number, but Linux kernel is 6.6.1
Additional context
I was impatient and silly and didn't save the messages from the install log, but it mentioned being unable to find boot.efi and being unable to setup bless.
I'm guessing it's related to sickcodes/Docker-OSX#511 and sickcodes/Docker-OSX#714, which seems to occur because the installer tries to download an installer package for Apple Silicon processors.
I was able to work around this issue for now by installing macOS 12 Monterey instead (also with APFS).