diff --git a/Mist/Commands/Download/DownloadInstallerCommand.swift b/Mist/Commands/Download/DownloadInstallerCommand.swift index 4dcedec..4e3f455 100644 --- a/Mist/Commands/Download/DownloadInstallerCommand.swift +++ b/Mist/Commands/Download/DownloadInstallerCommand.swift @@ -48,6 +48,16 @@ struct DownloadInstallerCommand: ParsableCommand { } !options.quiet ? PrettyPrint.print("Found [\(product.identifier)] \(product.name) \(product.version) (\(product.build)) [\(product.date)]", noAnsi: options.noAnsi) : Mist.noop() + + if let architecture: String = Hardware.architecture { + + guard !(!product.bigSurOrNewer && options.outputType.contains(.iso) && architecture.contains("arm")) else { + !options.quiet ? PrettyPrint.print("macOS Catalina 10.15 and older cannot generate Bootable Disk Images on Apple Silicon Macs...", noAnsi: options.noAnsi) : Mist.noop() + !options.quiet ? PrettyPrint.print("Replace 'iso' with another output type or select a newer version of macOS, exiting...", noAnsi: options.noAnsi, prefix: .ending) : Mist.noop() + return + } + } + try verifyExistingFiles(product, options: options) try setup(product, options: options) try verifyFreeSpace(product, options: options)