-
Hi, I'm using maven / tycho (4.0.3 at the moment) from a while without any issue to build my personal eclipse e4 rcp app. Recently I had the opportunity to run it on mac equipped with M1 chip (aarch64). I'm relying on eclipse target platform based on 2022-09 modeling version that supports M1 chip. To build against aarch64 I activated in my pom this aarch64 and the app is built fine. I don't have Apple Dev ID, then my app is not signed. I deactivated Gatekeeper to run it the first time on my macOS intel chip and it is fine, running without any issue. The same build against x86_64 is running fine without any report from macOS Ventura 13.6 intel chip. Eclipse IDE runs fine, then I replaced in Eclipse.app the Eclipse folder content( that contains features, plugins and other files) with the one from Myapp.app --> double clicking on Eclipse icon and the Myapp runs fine. But it is named as Eclipse instead of Myapp. Then I conclude it is not linked to the java part itself but more about macOS bundle package. Does anyone have face similar situation ? Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Writing the issue help to better ask google and I found the solution: no issue at all with the app and tycho way to create macOS bundle package whatever it is aarch64 or x86_64. The issue is related to macOS security: even if I deactivated Gatekeeper, it is not the right way. I found the solution there: https://www.reddit.com/r/macsysadmin/comments/13vu7f3/app_is_damaged_and_cant_be_opened_error_on_ventura/?rdt=44382# running this 2 commands: Magic happens, my (not signed with Apple Dev ID) is now running fine. By the way, i would be interested in a pointer that highlights how to sign with an Apple Dev ID an app built with Tycho please ? |
Beta Was this translation helpful? Give feedback.
-
Can you please advise how you create dmg and notarize and sign ? Do you use codesign executable called from maven-exec-plugin ? Thanks |
Beta Was this translation helpful? Give feedback.
Writing the issue help to better ask google and I found the solution: no issue at all with the app and tycho way to create macOS bundle package whatever it is aarch64 or x86_64.
The issue is related to macOS security: even if I deactivated Gatekeeper, it is not the right way.
I found the solution there: https://www.reddit.com/r/macsysadmin/comments/13vu7f3/app_is_damaged_and_cant_be_opened_error_on_ventura/?rdt=44382#
running this 2 commands:
xattr -l /path/to/application.app
xattr -dr com.apple.quarantine /path/to/application.app
Magic happens, my (not signed with Apple Dev ID) is now running fine.
By the way, i would be interested in a pointer that highlights how to sign with an Apple D…