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 540 times
Offline
User avatar

antoine

  • Posts: 164
  • 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 for Premiere Pro and After Effects : https://www.autokroma.com/BRAW_Studio/

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 3 guests