[FieldTrip] Update macOS and MATLAB; malware error

Schoffelen, J.M. (Jan Mathijs) janmathijs.schoffelen at donders.ru.nl
Thu Dec 19 14:50:45 CET 2024


Hoi Sophie,

I don’t know a solution to your problem, but I have asked my new best friend (perhaps you already did this also), and they came up with the following answer:


“….

You're encountering issues with FieldTrip on macOS Sequoia due to recent changes in Gatekeeper's security policies. Previously, commands like spctl --add were used to manage exceptions, but in macOS Sequoia, spctl can no longer manage Gatekeeper exceptions.

Der Flounder<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fderflounder.wordpress.com%2F2024%2F09%2F23%2Fspctl-command-line-tool-no-longer-able-to-manage-gatekeeper-on-macos-sequoia%2F%3Futm_source%3Dchatgpt.com&data=05%7C02%7Cfieldtrip%40science.ru.nl%7C27419415edcd431d096908dd203422e2%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638702130461391943%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=n%2Brgx%2FHvLqRnDud9xN1ZSSNVUznMWf3PS%2BhToeJPSDI%3D&reserved=0>

Alternative Solutions:

  1.  Adjust Gatekeeper Settings via System Preferences:

     *   Open System Settings and navigate to Privacy & Security.
     *   Scroll to the Security section.
     *   If the option to allow apps from "Anywhere" isn't visible, you can enable it by:
        *   Opening Terminal and running:

bash
Copy code
sudo spctl --master-disable


        *   Returning to System Settings > Privacy & Security.
        *   The "Anywhere" option should now appear; select it to allow apps from any source.
Apple Support Communities<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdiscussions.apple.com%2Fthread%2F255759797%3Futm_source%3Dchatgpt.com&data=05%7C02%7Cfieldtrip%40science.ru.nl%7C27419415edcd431d096908dd203422e2%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638702130461415593%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=tNFlRTdtxtReTvYE4JO5sVM%2BPH5%2FxCgQsmHDp1kw8Eo%3D&reserved=0>

Note: Enabling this setting reduces system security by allowing all apps to run, regardless of their source. Use this method cautiously and consider reverting the setting after resolving the FieldTrip issue.

  2.  Contact FieldTrip Support:

     *   Reach out to the FieldTrip development team to inquire about updates or patches that ensure compatibility with macOS Sequoia and MATLAB 2024. They may offer solutions tailored to the latest macOS security protocols.
  3.  Check MATLAB Compatibility:

     *   Ensure you're using a MATLAB version compatible with macOS Sequoia. According to MathWorks, MATLAB R2024b supports macOS Sequoia.
MathWorks<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.mathworks.com%2Fsupport%2Frequirements%2Fmatlab-mac.html%3Futm_source%3Dchatgpt.com&data=05%7C02%7Cfieldtrip%40science.ru.nl%7C27419415edcd431d096908dd203422e2%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638702130461427331%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=jGgm%2F3wDGy2b6%2FJoKRFxpme599rzSDrHl%2Fv1EuqCWko%3D&reserved=0>

Important Considerations:

  *   Security Risks: Altering Gatekeeper settings can expose your system to potential risks. Always download software from trusted sources and revert security settings to their defaults after troubleshooting.

  *   Stay Updated: Regularly check for updates from both MathWorks and FieldTrip to ensure compatibility with the latest macOS versions.

By following these steps, you should be able to address the compatibility issues between FieldTrip, macOS Sequoia, and MATLAB 2024.
…”



Best wishes,
Jan-Mathijs



On 16 Dec 2024, at 16:23, Schubert, E.S. (Sophie) via fieldtrip <fieldtrip at science.ru.nl> wrote:

Dear Fieldtrip Community,

After updating to macOS Sequoia and MATLAB 2024, I am experiencing issues with FieldTrip. When loading ft_defaults, I get the following error message:

"ft_getopt.mexmaci64" cannot be opened because the developer cannot be verified. macOS cannot verify that this app is free from malware.

I am aware of the suggested workaround, where the following commands are executed in the terminal:

sudo xattr -r -d com.apple.quarantine LOCATION_OF_FIELDTRIP
sudo find LOCATION_OF_FIELDTRIP -name \*.mexmaci64 -exec spctl --add {} \;

Unfortunately, this solution no longer seems to work, as the spctl command-line tool can no longer manage Gatekeeper exceptions in macOS Sequoia. As a result, I am currently unable to use FieldTrip.

Could you advise me on an alternative solution or any updates to FieldTrip that are compatible with the latest version of macOS and MATLAB?

Thank you very much for your help. Please let me know if you need any additional information.

Kind regards,

Sophie Schubert
________________________________

De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. Het Universitair Medisch Centrum Utrecht is een publiekrechtelijke rechtspersoon in de zin van de W.H.W. (Wet Hoger Onderwijs en Wetenschappelijk Onderzoek) en staat geregistreerd bij de Kamer van Koophandel voor Midden-Nederland onder nr. 30244197.

Denk s.v.p aan het milieu voor u deze e-mail afdrukt.

________________________________

This message may contain confidential information and is intended exclusively for the addressee. If you receive this message unintentionally, please do not use the contents but notify the sender immediately by return e-mail. University Medical Center Utrecht is a legal person by public law and is registered at the Chamber of Commerce for Midden-Nederland under no. 30244197.

Please consider the environment before printing this e-mail.

_______________________________________________
fieldtrip mailing list
https://mailman.science.ru.nl/mailman/listinfo/fieldtrip<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmailman.science.ru.nl%2Fmailman%2Flistinfo%2Ffieldtrip&data=05%7C02%7Cfieldtrip%40science.ru.nl%7C27419415edcd431d096908dd203422e2%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638702130461437567%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=PZ36wJn0uyxeYh2NH7Dyn8pgvFmcIrXkACLbOiwxRRE%3D&reserved=0>
https://doi.org/10.1371/journal.pcbi.1002202<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdoi.org%2F10.1371%2Fjournal.pcbi.1002202&data=05%7C02%7Cfieldtrip%40science.ru.nl%7C27419415edcd431d096908dd203422e2%7C084578d9400d4a5aa7c7e76ca47af400%7C1%7C0%7C638702130461448016%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=tquL3fauGQ1oBmp4s5Axk8SRF%2BUiBVcNFwyNuK0WMNw%3D&reserved=0>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20241219/4da589b4/attachment.htm>


More information about the fieldtrip mailing list