-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid Exit Status Code: '9', Message:
on M1
#121
Comments
Thanks @KenjiTakahashi, this is a limitation of the It's a little buried, but we do highlight this in the ➜ ~ mist download installer --help
OVERVIEW: Download a macOS Installer.
* macOS Installers for macOS Catalina 10.15 and older are for Intel based Macs only.
* macOS Installers for macOS Big Sur 11 and newer are Universal - for both Apple Silicon and Intel based Macs.
USAGE: mist download installer [<options>] <search-string> <output-type> ...
ARGUMENTS:
<search-string> Specify a macOS name, version or build to download:
* macOS Ventura
* macOS Monterey
* macOS Big Sur
* macOS Catalina
* macOS Mojave
* macOS High Sierra
* 13.x (macOS Ventura)
* 12.x (macOS Monterey)
* 11.x (macOS Big Sur)
* 10.15.x (macOS Catalina)
* 10.14.x (macOS Mojave)
* 10.13.x (macOS High Sierra)
* 22C (macOS Ventura 13.1.x)
* 21G (macOS Monterey 12.6.x)
* 20G (macOS Big Sur 11.7.x)
* 19H (macOS Catalina 10.15.7)
* 18G (macOS Mojave 10.14.6)
* 17G (macOS High Sierra 10.13.6)
Note: Specifying a macOS name will assume the latest version and build of that particular macOS.
Note: Specifying a macOS version will assume the latest build of that particular macOS.
<output-type> Specify the requested output type(s):
* application to generate a macOS Installer Application Bundle (.app).
* image to generate a macOS Disk Image (.dmg).
* iso to generate a Bootable macOS Disk Image (.iso), for use with virtualization software (ie. Parallels Desktop, VMware Fusion, VirtualBox).
Note: This option will fail when targeting macOS Catalina 10.15 and older on Apple Silicon Macs.
* package to generate a macOS Installer Package (.pkg). |
Slightly less buried in the Mist.app app settings: |
Ah, I indeed missed that note, sorry! |
Hmm good point 🤔 It might be worth bringing up your issue in the #mist or #macos channels in the Mac Admins Slack and see what the brains trust can conjure up 👍 |
So I have looked around and did some experiments. It looks indeed to be incompatible signature problem, like some suggested in other threads. There is no need to remove it, though, it can be replaced with a new one. I've made a dirty patch to And was able to successfully create installer image for Mojave on Ventura on M1 MacBook. Guess a more proper code would only apply this if necessary and maybe even have it behind some "at your own risk" flag. |
I am hesitant to allow the ability to modify the contents of macOS Installers provided by Apple, even if it's just the removal of a code-signing certificate. I can however look into a more explicit error message that blocks the user from proceeding when attempting to download macOS Catalina 10.15 with the |
@KenjiTakahashi I have added more descriptive output when attempting to build a macOS 10.15 or older ISO on an Apple Silicon Mac: #133 ➜ sudo mist download installer "Mojave" iso
┌──────────────────┐
│ INPUT VALIDATION │
└──────────────────┘
├─ User is 'root'...
├─ Download search string will be 'Mojave'...
├─ Include betas in search results will be 'false'...
├─ Only include compatible installers will be 'false'...
├─ Cache downloads will be 'false'...
├─ Output directory will be '/Users/Shared/Mist'...
├─ Temporary directory will be '/private/tmp/com.ninxsoft.mist'...
├─ Force flag has not been set, existing files will not be overwritten...
├─ Bootable Disk Image name will be 'Install %NAME% %VERSION%-%BUILD%.iso'...
┌────────┐
│ SEARCH │
└────────┘
├─ Searching for macOS download 'Mojave'...
├─ Found [061-26589] macOS Mojave 10.14.6 (18G103) [2019-10-15]
├─ macOS Catalina 10.15 and older cannot generate Bootable Disk Images on Apple Silicon Macs...
└─ Replace 'iso' with another output type or select a newer version of macOS, exiting... |
That's fine by me. I suppose if someone really needs it, they can find this conversation and do the mod like I did. And I hope that I'll never need this again ;-). |
Trying to build iso on an M1 MacBook fails with the following result:
For what it's worth, looks like others also have the problem: BITespresso/createinstalliso#2.
The text was updated successfully, but these errors were encountered: