Skip to content

Include macOS instructions in the exception message when Rosetta 2 is missing/needed #3466

@mdmintz

Description

@mdmintz

Include macOS instructions in the exception message when Rosetta 2 is missing/needed


When using UC Mode / CDP Mode on an Apple silicon Mac without Rosetta 2 installed, users may encounter the following error message:
"Bad CPU type in executable".

That's an easy fix, as seen in: https://apple.stackexchange.com/a/408379/607628.

Rather than forcing users to look up what "Bad CPU type in executable" means, (#2558 (comment)), the error message should just display the instructions for fixing the issue:

softwareupdate --install-rosetta

And the exception message should also mention the https://apple.stackexchange.com/a/408379/607628 link so that the situation can be explained clearly for anyone interested in the details.

Metadata

Metadata

Assignees

Labels

UC Mode / CDP ModeUndetected Chromedriver Mode / CDP ModeenhancementMaking things better

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions