Skip to content

Apple notarization failure #123

Open
@wetneb

Description

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:

[INFO]      [exec]   "issues": [
[INFO]      [exec]     {
[INFO]      [exec]       "severity": "error",
[INFO]      [exec]       "code": null,
[INFO]      [exec]       "path": "openrefine-mac-3.6-SNAPSHOT.dmg/OpenRefine.app/Contents/Resources/webapp/extensions/jython/module/MOD-INF/lib/jython-standalone-2.7.2.jar/jni/Darwin/libjffi-1.2.jnilib",
[INFO]      [exec]       "message": "The binary uses an SDK older than the 10.9 SDK.",
[INFO]      [exec]       "docUrl": null,
[INFO]      [exec]       "architecture": "i386"
[INFO]      [exec]     },
[INFO]      [exec]     {
[INFO]      [exec]       "severity": "error",
[INFO]      [exec]       "code": null,
[INFO]      [exec]       "path": "openrefine-mac-3.6-SNAPSHOT.dmg/OpenRefine.app/Contents/Resources/webapp/extensions/jython/module/MOD-INF/lib/jython-standalone-2.7.2.jar/jni/Darwin/libjffi-1.2.jnilib",
[INFO]      [exec]       "message": "The binary uses an SDK older than the 10.9 SDK.",
[INFO]      [exec]       "docUrl": null,
[INFO]      [exec]       "architecture": "x86_64"
[INFO]      [exec]     }
[INFO]      [exec]   ]

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions