Skip to content
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

fix(dev): Check for Rosetta2 and install if necessary (MacOS) #3345

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

marcoleder
Copy link
Contributor

Previous behavior: Apple silicon users would clone the repository and try to run the application on an IOS emulator. The application would not launch if Rosetta2 is not installed and throw the following error: The request was denied by service delegate (SBMainWorkspace)

New behavior: The flake.nix checks if the user

  • is on MacOS
  • has an Apple Silicon chip
  • does not yet have Rosetta2 installed

If all of the above holds, the flake prompts the user to install Rosetta2 and agree to the license by executing the following command: sudo /usr/sbin/softwareupdate --install-rosetta --agree-to-license and in a last step checks if the installation has been successful.

@marcoleder
Copy link
Contributor Author

marcoleder commented Nov 29, 2024

@dolcalmi dolcalmi changed the title fix(flake.nix): Check for Rosetta2 and install if necessary (MacOS) fix(dev): Check for Rosetta2 and install if necessary (MacOS) Dec 3, 2024
@dolcalmi dolcalmi merged commit 4a848be into GaloyMoney:main Dec 3, 2024
6 of 9 checks passed
@marcoleder marcoleder deleted the fix-emulator-macos branch December 13, 2024 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants