-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apple notarization failure #123
Comments
A 64-bit only build is certainly possible but I have to admit I am not very good at working with the complicated Apple build pipeline! Are you able to help me get the right changes made so we can publish a binary that works for you? |
Ok! As I do not have access to a recent MacOS machine, my first step towards that would be to write a workflow file for GitHub Actions to run the compilation of the library on this platform. Perhaps this is something that could be useful to integrate to your existing CI. |
Hi, just thought I should mention since, hopefully, someone's looking into this - I see a different notarisation error for libjffi-1.2, to do with no valid developer id certificate. This is a Java app built with openjdk-16.0.1. "issues": [ |
Ah yes, in my case this error did not appear because I am recursively signing all native libraries in jars of our dependencies. |
I definitely want to solve this, and have an Apple developer account I should be able to use to sign it, but I am not great with the build process on MacOS. |
Hi, thanks for the suggestion but may I ask how you're doing this recursive signing please? It seems that codesign --force --deep should do the trick but sadly not in this case. |
Thanks Antonin, much appreciated - that solved my problem |
The OpenRefine project has funding available to work on this. Do you know someone who would be able to get this fixed? Send them our way! |
@wetneb Hello there! Normally that would be me, but currently we have an contributor @splatch looking into overhauling how we build binaries, which should include this fix too. Perhaps they can be enticed to spend more time on it? 😃 Otherwise, I can help get this working and signed properly if someone can give me some clear instructions on what to fix (I am not an Apple developer but I have access to machines). |
I ended up just building the file on a MacOS machine (just by building this repository with If that is of interest, our version of Of course patching the |
Hello,
Thanks for maintaining this library! OpenRefine depends on it, and I am looking into signing our MacOS release properly, including "notarizing" it with Apple, which is required on recent versions of MacOS for the security warnings to disappear.
As part of that process, we get the following error messages:
It looks like the fact that
libjffi-1.2.jnilib
was built with a version of Xcode that is too old is preventing us from notarizing the package.Looking at your README, it looks like there is no chance to upgrade this version of Xcode since you need to support 32bit architectures.
It looks like it is therefore impossible for us to support both 32-bit architectures and have a successful notarization such that users with recent versions of MacOS do not get a security warning. Therefore I wonder if it would make sense to generate a build of libjffi with only 64 bit support, allowing it to be generated by a recent version of Xcode. I wonder if you would consider offering such a build directly (e.g. by dropping support for 32-bit) or if we should do it ourselves.
Issue on OpenRefine's side: OpenRefine/OpenRefine#4568
Note: The OpenRefine project has funding available to work on this. Do you know someone who would be able to get this fixed? Send them our way!
https://openrefine.org/blog/2022/09/30/windows-macos-packaging.html
The text was updated successfully, but these errors were encountered: