MEX file cannot be opened because the developer cannot be verified in OS X 10.15.2 and cannot be added to the authorization list.
38 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2020 年 4 月 6 日
コメント済み: Walter Roberson
2023 年 7 月 31 日
I have a MEX file and when I open it in OSX 10.15.2 Catalina, the system throws a message saying "cannot be opened because the developer cannot be verified".
It can only be opened while I disable Gatekeeper entirely. It does not work when I add the MEX files as exception using 'spctl --add'.
Is there any way I can add the file to the authorization list without disabling Gatekeeper entirely?
採用された回答
MathWorks Support Team
2023 年 7 月 31 日
編集済み: MathWorks Support Team
2023 年 7 月 31 日
1. Check to see if the file is quarantined by running the following command in the terminal:
xattr /path/to/file
An entry “com.apple.quarantine” means the library has been quarantined
2. Remove this attribute by running the following command in the terminal:
sudo xattr -r -d com.apple.quarantine /path/to/file
3. Try to run the MEX file again
1 件のコメント
Walter Roberson
2023 年 7 月 31 日
Note: quarantine changed in MacOS Ventura; see https://eclecticlight.co/2023/03/13/ventura-has-changed-app-quarantine-with-a-new-xattr/
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Software Development Tools についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!