Error loading [plugin]: dlopen([plugin]: no suitable image found. Did find: [plugin]: code signature in [plugin] not valid for use in process using Library Validation: library load disallowed by system policy
I used to code sign and notarize Adobe InDesign plugins without any problems until last year.
I am facing an issue with code signing while building a plugin for the latest Adobe InDesign. The build is done, but when I open InDesign with the plugin, there's a problem
I use this code for codesign —>
check_call_with_env(['codesign',
'--deep','--verify',
'--verbose','--force','--timestamp',
'-o','runtime',
'--sign', ‘XYZ Pty Ltd',
env.script_root + ‘[plugin]/Versions/A/']
, env.build_env)
I am getting below message in my Notarization report.
{
"logFormatVersion": 1,
"jobId": "865d5a5a-ddeb-4642-a6cf-852bb97ae062",
"status": "Invalid",
"statusSummary": "Archive contains critical validation errors",
"statusCode": 4000,
"archiveFilename": "macos_QuickPrintInDesignCC19.InDesignPlugin_749.zip",
"uploadDate": "2023-11-29T13:29:30Z",
"sha256": "22a34d0e26d16af9f94bfe909c76bed3d155cc796521318e03ad810bca0806bd",
"ticketContents": null,
"issues": [
{
"severity": "error",
"code": null,
"path": "macos_QuickPrintInDesignCC19.InDesignPlugin_749.zip/QuickPrintInDesignCC19.InDesignPlugin/QuickPrintInDesignCC19",
"message": "The signature of the binary is invalid.",
"docUrl": "Resolving common notarization issues | Apple Developer Documentation
"architecture": "x86_64"
}
]
}
I found this error in my system log. “code signature in [app] not valid for use in process using library validation: library load disallowed by system policy”
Can anyone help me in resolving this issue?
What steps do I need to take to fix this?
Thanks in advance for the help.
Mac mini (M1, 2020)