mojira.dev
MCL-19830

The launcher crashes when you try to open it (on macOS 12)

Workaround

According to @unknown in this comment and this comment, there are two possible workarounds. However, these workarounds only work if Minecraft was installed and launched at least once prior to updating to macOS Monterey (i.e. the ~/Library/Application Support/minecraft folder must already exist).
Option #1

  1. Disconnect from the internet (to prevent the launcher from trying to automatically update).

  2. Open the launcher.

  3. Reconnect to the internet.

  4. Login again.

  5. Launch and play Minecraft.

Option #2
Open the Terminal app and run the following command:

open -a /Applications/Minecraft.app --args --skipUpdate

The bug

Multiple users have reported that trying to open the launcher while using macOS Monterey shows a pop-up about the launcher updating and then crashes.

Crash report

A crash report from MC-240756 (which is a duplicate of this report) is provided here. Additionally, a brief code analysis and a backtrace of the crashed thread is provided in this comment by @unknown.

Original description

When launching the Minecraft Lanucher from Applications a notification crosses the screen berifly saying 'updating launcher and then completely stops. I have tried deleting all Minecraft files, and downloading new, and got nothing. I downloaded macOS Monterey nothing. It does not appear to be compatible. I also tried to launch via terminal and have attached a picture of what shows up.

This is no longer is beta, and needs fixing please.

Linked issues

Attachments

Comments 46

Please attach the crash report or log. The crash report is a text file located in the [.minecraft|https://minecrafthopper.net/help/finding-minecraft-data-folder/]/crash-reports folder named crash-date-client.txt. If not available attach the launcher_log.txt file.

Log Added. There are only 3 files currently in .minecraft and that is one of them.

I experienced same issue on macOS 12.0.1.
https://gist.github.com/niw/fac5be3449878ce49b9031028f535940 is backtrace of crashed thread.
Looks like updater is using AppKit NSImageView API from background thread, which is violating API rule, since all AppKit UI API must be used from main thread.
Please fix all UI code are called on main thread, or AppKit API may assert such call and crash.

Current workaround is just disconnect from the internet to not launcher trigger updater while it is launching, and once it's launched, connect to the internet and login again, then continue.

What would you do if the launcher has not been downloaded yet?

@JoiningToast I solved the issue by installing launcher on the other machine running macOS 11. and transfer ~/Library/Application Support/minecraft (where anyways previous my offline worlds exist, so... I wanted to copy it.) No workaround exists if you don't have such environment without using probably 3rd party launcher for now.

36 more comments

I was very excited to see the notification that it was fixed! So I went to the website to download a fresh installer, and…

 

[media]

the build is improperly notarized and so macOS thinks that it's not codesigned.

However, after right-click->"Open"ing it to work around the GateKeeper restriction… it does in fact launch now so it seems like this issue is addressed.

Created MCL-21089, I think distributed binary is not notarized, somehow.

Will check into this, thanks

tried the following method but all of them are not working:

  • remove the Minecraft folder in Library/Application Support

  • switch Wifi off and then turn on

  • use command to input: open -a /Applications/Minecraft.app --args --skipUpdate

  • remove the app

  •  

log file:

[media]

migrated

(Unassigned)

Community Consensus

Retrieved