eclipse-tracecompass / org.eclipse.tracecompass

Eclipse Trace Compass
https://eclipse.dev/tracecompass/
Eclipse Public License 2.0
13 stars 13 forks source link

MAC OSX Incubator version is not working #101

Open ammarwa opened 3 months ago

ammarwa commented 3 months ago

If I try to download the incubator version and try to run it on M1 MAC OSX, I will get the following screen: image

With the normal version, I had to edit the Info.list to check the right Java path on my machine.

Let me know if you need more information.

bhufmann commented 3 months ago

The build of incubator RCP doesn't do mac signing and notarization. If you'd like to use the MAC RCP use the Trace Compass mainline RCP build and install the incubator features using the Tools -> Add-ons menu.

The mainline RCP (ending with .dmg) can downloaded from here: https://download.eclipse.org/tracecompass/releases/9.3.0/rcp/

ammarwa commented 3 months ago

How can I add ROCm plugin?

ammarwa commented 3 months ago

with the version you suggested, I still need to edit the contents because of the following error: image

arfio commented 3 months ago

Would it be easy to add mac signing and notarization for the incubator release as well ? To add plug-ins in the mainline RCP: https://archive.eclipse.org/tracecompass/doc/stable/org.eclipse.tracecompass.rcp.doc.user/Trace-Compass-Incubator.html

bhufmann commented 3 months ago

It's not that hard because you can follow what was done in Trace Compass mainline. However, some changes need to be done in the pom files and CI setup.

From what I can remember, you will have to add a mac signing and a notarization profile in the RCP product pom.xml. Then add flags to the incubator Jenkinsfile to be enable mac signing. In Trace Compass we have a separate jenkins job that does the notarization (https://ci.eclipse.org/tracecompass/job/notarize-tracecompass-dmgs/) which is triggered after a successful build (e.g. nightly.). It calls a script (notarize-mac.sh) for that.

arfio commented 3 months ago

I will look into it, thank you very much for the explanation !

MatthewKhouzam commented 3 months ago

Hey, as a quick stopgap fix... would this help?

xattr -d com.apple.quarantine /PATH/TO/APPLICATION