Skip to content

FAQ: how to resolve on macOS: "casadiMEX.mexmaci64" cannot be opened because the developer cannot be verified

András Retzler edited this page Nov 10, 2022 · 1 revision

On macOS Ventura, you might get this message after adding CasADi to the MATLAB path:

image

You need to open "Security & Privacy", the "General" tab, click the lock to allow changes, and then select "App Store and identified developers", and the problematic library will show up and you need to press "Allow Anyway":

image

This is unfortunately an iterative procedure. New error messages will show up with each of the library files one by one. You need to go back to this dialog and allow them. It's best to keep trying to run your code until you have added all the needed files.

Hint: typing casadi.MX will allow you to check if the main CasADi MEX could be loaded.

Clone this wiki locally