Library Validation (Hardened Runtime) on OS X Catalina

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

ehardebeck

  • Posts: 2
  • Joined: Mon Apr 06, 2020 9:11 pm
  • Real Name: Ed Hardebeck

Library Validation (Hardened Runtime) on OS X Catalina

PostMon Apr 06, 2020 9:21 pm

We are a software developer using AVFoundation on MacOS to capture video Blackmagic devices. This is no longer working now that we have Notarized our application.

It appears that using DeckLinkCMIO requires disabling Library Validation when running with Hardened Runtime, which is now a requirement for Apple Notarization. This message is logged:

Library/CoreMediaIO/Plug-Ins/DAL/DeckLinkCMIO.plugin/Contents/MacOS/DeckLinkCMIO: code signature in (/Library/CoreMediaIO/Plug-Ins/DAL/DeckLinkCMIO.plugin/Contents/MacOS/DeckLinkCMIO) not valid for use in process using Library Validation: mapping process and mapped file (non-platform) have different Team IDs

Disabling Library Validation reduces the security of our application and is not a good solution.

Does anyone know of a fix or workaround for this?

Apparently the (proposed) solution in Chromium is to move video capture to a separate process that disables Library Validation, however that sounds like a lot of work, hoping for something simpler:
https://bugs.chromium.org/p/chromium/is ... ?id=992995
https://bugs.chromium.org/p/chromium/is ... ?id=990381
Offline

ehardebeck

  • Posts: 2
  • Joined: Mon Apr 06, 2020 9:11 pm
  • Real Name: Ed Hardebeck

Re: Library Validation (Hardened Runtime) on OS X Catalina

PostFri Apr 24, 2020 2:16 pm

Looks like it's going to be even more of a problem in a future version of macOS
Attachments
LegacySystemExtension.png
Looks like it's going to be even more of a problem in the future
LegacySystemExtension.png (174.11 KiB) Viewed 2055 times
Offline
User avatar

antoine

  • Posts: 498
  • Joined: Sat Nov 24, 2018 2:20 am
  • Real Name: Antoine Dornstetter

Re: Library Validation (Hardened Runtime) on OS X Catalina

PostFri Apr 24, 2020 4:16 pm

Did you try to resign Blackmagic library with your own Developer ID ?
BRAW Studio FREE and Premium for Adobe Premiere Pro and After Effects, with a brand new Desktop .BRAW Player and Color Grader, as well as an automatic White Balance Color Picker tool
Offline
User avatar

Tomasz Huczek

  • Posts: 17
  • Joined: Mon Sep 29, 2014 12:08 pm
  • Location: Poland

Re: Library Validation (Hardened Runtime) on OS X Catalina

PostFri Jun 12, 2020 8:31 am

Have you found a solution to that problem?
I have the same issue at the moment...
timeinpixels.com
Offline
User avatar

antoine

  • Posts: 498
  • Joined: Sat Nov 24, 2018 2:20 am
  • Real Name: Antoine Dornstetter

Re: Library Validation (Hardened Runtime) on OS X Catalina

PostSun Jun 14, 2020 8:56 am

Tomasz Huczek wrote:Have you found a solution to that problem?
I have the same issue at the moment...



antoine wrote:Did you try to resign Blackmagic library with your own Developer ID ?
BRAW Studio FREE and Premium for Adobe Premiere Pro and After Effects, with a brand new Desktop .BRAW Player and Color Grader, as well as an automatic White Balance Color Picker tool

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 19 guests