2023-04-26 02:43 PM
This is a prerequisite for the VSCode extension which is why I am asking here.
Steps to reproduce:
Download the setup file
Per Readme.html, open a terminal, navigate to the en folder and run the following command: sudo xattr -cr ./SetupSTMCUFinder-5.0.0.app
Enter password
Exit the terminal
Open Finder
in the en folder, double click on SetupStMCUFinder-5.0.0
Setup always complains that "java" cannot be opened because the developer cannot be verified
Show package contents of SetupStMCUFinder-5.0.0
Right click on SetupTMCUFInder-5_0_0 and select Open
Setup always complains that "java" cannot be opened because the developer cannot be verified
I need to get VSCode running but until I can get this prerequisite running, I don't believe it will have full functionality.
Thank you in advance for your assistance!
Clark
2023-04-28 09:26 AM
Come on, ST! This is either a bug or a result of bad documentation. What needs to be done to fix this?
2023-05-06 08:37 AM
Hi Clark,
the instructions from ST are a bit misleading. The command to run is correct but must be applied to the entire contents of the unzipped folder, that is also to the jre installation alongside the app.
This worked for me:
Explanation: the command xattr -cr clears recursively all extended attributes, included those used by Apple to apply a quarantine to every file downloaded from the Internet. It's the quarantine attribute that blocks the execution of java (the version included in the jre folder, used by the installer).
Please, notice: you don't need the MCU Finder to run the VS Code extension.
Hope this helps.
Regards,
Gabriele
2023-05-07 07:50 AM
Hello Gabriele
Thank you for taking the time to help me with this problem. I believe I have executed the xattr command to the entire folder. However I will re-download the zip file and try again. I’ll let you know how it goes.
I do have one question, have you successfully installed STMCUFinder on MacOS Ventura 13.3? I suspect 13.3 may use other methods to prevent running the Java app.
2023-05-07 08:02 AM
I found this article which shows that the quarantine method has changed in MacOS Ventura.
https://eclecticlight.co/2023/03/13/ventura-has-changed-app-quarantine-with-a-new-xattr/
Later today I will try to look closer at the files to determine if the xattr command is sufficient for 13.3.1.