Skip to content

Commit

Permalink
Add Sonoma in list of macOS versions
Browse files Browse the repository at this point in the history
  • Loading branch information
gllmflndn authored Nov 22, 2023
1 parent ecfdb40 commit 3923d3b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/development/compilation/macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This page describes the compilation of SPM MEX files on macOS.

!!! tip
If you are using macOS Catalina, Big Sur, Monterey or Ventura and have apparent problems with the MEX files provided with SPM, check the [Troubleshooting section](#troubleshooting) first as it is very likely you do not need to recompile the MEX files.
If you are using macOS Catalina, Big Sur, Monterey, Ventura or Sonoma and have apparent problems with the MEX files provided with SPM, check the [Troubleshooting section](#troubleshooting) first as it is very likely you do not need to recompile the MEX files.

To compile SPM MEX files, you need to have Apple's development environment [Xcode](http://developer.apple.com/tools/xcode/) installed.

Expand Down Expand Up @@ -42,7 +42,7 @@ This will generate `*.mexmaci64` MEX files. To generate `*.mexmaca64` MEX files,

## Troubleshooting

!!! failure "macOS Catalina, Big Sur, Monterey, Ventura"
!!! failure "macOS Catalina, Big Sur, Monterey, Ventura, Sonoma"

If you have issues with MEX files on macOS with one of these errors:

Expand All @@ -66,6 +66,8 @@ This will generate `*.mexmaci64` MEX files. To generate `*.mexmaca64` MEX files,
sudo find SPM_PATH -name "*.mexmaci64" -exec spctl --add {} \;
```

If you are using Apple Silicon (ARM), make sure to edit the command lines so that it targets `.mexmaca64` files.

!!! failure "`xcrun: error: SDK "macosx10.14.1" cannot be located` error"

If you get errors such as `xcrun: error: SDK "macosx10.14.1" cannot be located` while compiling, execute the following before compilation:
Expand Down

0 comments on commit 3923d3b

Please sign in to comment.