Skip to content

Instantly share code, notes, and snippets.

@dlbewley
Last active February 16, 2021 17:01
Show Gist options
  • Save dlbewley/4935e401fcbcd54b5325b60343596913 to your computer and use it in GitHub Desktop.
Save dlbewley/4935e401fcbcd54b5325b60343596913 to your computer and use it in GitHub Desktop.

Mac Livestreaming with OBS

To get OBS virtual camera or NDI to work in some video conferencing software you must disable library validation.

Typically, the Hardened Runtime’s library validation prevents an app from loading frameworks, plug-ins, or libraries unless they’re either signed by Apple or signed with the same team ID as the app. The macOS dynamic linker (dyld) provides a detailed error message when this happens. Use the Disable Library Validation Entitlement to circumvent this restriction.

Zoom, Ring Central

Used 2020

$ cat <<EOF > entitlements.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>com.apple.security.cs.disable-library-validation</key>
  <true/>
</dict>
</plist>
EOF

sudo codesign --entitlements entitlements.xml -f -s - /Applications/zoom.us.app
sudo codesign --entitlements entitlements.xml -f -s - /Applications/RingCentral.app

Above fix may have been more appropriate, but I did not test it on Teams yet.

Used 2021 Feb

xcode-select --install
sudo codesign --remove-signature "/Applications/Microsoft Teams.app"
sudo codesign --remove-signature "/Applications/Microsoft Teams.app/Contents/Frameworks/Microsoft Teams Helper.app"
sudo codesign --remove-signature "/Applications/Microsoft Teams.app/Contents/Frameworks/Microsoft Teams Helper (GPU).app"
sudo codesign --remove-signature "/Applications/Microsoft Teams.app/Contents/Frameworks/Microsoft Teams Helper (Plugin).app"
sudo codesign --remove-signature "/Applications/Microsoft Teams.app/Contents/Frameworks/Microsoft Teams Helper (Renderer).app"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment