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

macOS setup documentation #67

Merged
merged 1 commit into from
Jan 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ The only development environment that MonoGame officially supports on Linux is [
## Install .NET 6 SDK

- .NET SDK at: [https://dotnet.microsoft.com/en-us/download](https://dotnet.microsoft.com/en-us/download)
- If you are intending to target mobile platforms, make sure that you have the corresponding workload installed

```sh
dotnet workload install ios
dotnet workload install android
```

## macOS considerations

For the time being, MonoGame requires that you install the x64 version of the .NET SDK even if you are running on an Apple Silicon mac. It is also required that [Rosetta](https://support.apple.com/en-us/HT211861) is enabled.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even with Rosetta emulation, the mgcb will fail to build Textures and SpriteFonts due to the freeimage and freetype libs needing to be built for the M1/M2 architecture.

There are workarounds that some have used such as doing a brew install of both libs and creating a symnlink for them


## [Optional] Install Visual Studio Code

Expand Down