Skip to content

Commit

Permalink
add back in: Apple Silicon Mex file validation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
korbinian90 committed Jan 28, 2025
1 parent df7a5b0 commit 22c3403
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion docs/installation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,31 @@
savepath % if you want to save the current MATLAB path
```

??? info "MEX file validation issues"
??? info "MEX file validation issues (Apple Silicon)"
If you have **validation issues** with MEX files with one of these errors:

```
"*.mexmaca64" cannot be opened because the developer cannot be verified.
macOS cannot verify that this app is free from malware
```
or:
```
Code signature not valid for use in process using Library Validation: library load disallowed by system policy
```
Open a Terminal, `cd` to the SPM directory and type:

```
find . -name "*.mexmaca64" -exec xattr -d com.apple.quarantine {} \;
```

If it doesn't work, please try this equivalent alternative, replacing `SPM_PATH` with the path of your SPM installation:

```
sudo xattr -r -d com.apple.quarantine SPM_PATH
sudo find SPM_PATH -name "*.mexmaca64" -exec spctl --add {} \;
```
??? info "MEX file validation issues (Intel Mac)"
If you have **validation issues** with MEX files with one of these errors:

```
Expand Down

0 comments on commit 22c3403

Please sign in to comment.