Last active
August 6, 2019 06:19
-
-
Save daveseah/81e4377974847e54ec663a721f1a2ef0 to your computer and use it in GitHub Desktop.
Console errors from Mac OBS when changing parameters of a browser source
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The following errors are generated when adding a browser source: | |
error 01:07:26.683258 -0400 taskgated cannot open file at line 42270 of [95fbac39ba] | |
error 01:07:26.683311 -0400 taskgated os_unix.c:42270: (2) open(/var/db/DetachedSignatures) - No such file or directory | |
error 01:07:27.028057 -0400 tccd cannot open file at line 42270 of [95fbac39ba] | |
error 01:07:27.028080 -0400 tccd os_unix.c:42270: (2) open(/var/db/DetachedSignatures) - No such file or directory | |
error 01:07:27.030801 -0400 tccd cannot open file at line 42270 of [95fbac39ba] | |
error 01:07:27.030854 -0400 tccd os_unix.c:42270: (2) open(/var/db/DetachedSignatures) - No such file or directory | |
error 01:07:27.352127 -0400 CodeMeterMacX send failed: Invalid argument | |
error 01:07:32.341693 -0400 tccd cannot open file at line 42270 of [95fbac39ba] | |
error 01:07:32.341720 -0400 tccd os_unix.c:42270: (2) open(/var/db/DetachedSignatures) - No such file or directory | |
error 01:07:32.345092 -0400 tccd cannot open file at line 42270 of [95fbac39ba] | |
error 01:07:32.345136 -0400 tccd os_unix.c:42270: (2) open(/var/db/DetachedSignatures) - No such file or directory | |
What is /var/db/DetachedSignatures? | |
Apparently running an unsigned app collects signatures in a SQLite3 database | |
https://arstechnica.com/civis/viewtopic.php?f=19&t=1441819 | |
It has something to do with code signing | |
https://geoff.greer.fm/2015/04/26/os-x-code-signing-and-firewalls/ | |
When the file doesn't exist, several services fail in the console: | |
* taskgated | |
* os_unix.c | |
I don't know how it works...this offers some indecipherable context with regards to taskgated | |
https://stackoverflow.com/questions/52699661/macos-mojave-how-to-achieve-codesign-to-enable-debugging-gdb | |
os_unix.c seems to be part of SQLite. | |
performing `sudo touch /var/db/DetachedSignatures` may have provided a workaround while OBS is running, but closing and RERUNNING it prodiced this on startup | |
error 01:28:16.922206 -0400 obs CMIO_Unit_ScopeElement.h:200:SafeGetElement Throwing err: -67454 | |
error 01:28:16.923336 -0400 obs CMIOUnitFigBaseObjectImpl.c:246:CMIOUnitCreateFromDescription Invalid paramater | |
error 01:28:16.925124 -0400 obs CMIO_Unit_Input_Device.cpp:244:GetPropertyInfo CMIOUInputFromProcs::GetPropertyInfo() failed for id 102, Error: -67456 | |
error 01:28:17.294994 -0400 tccd Failed to copy signing info for 59133, responsible for file:///Applications/OBS.app/Contents/MacOS/OBS: #-67062: Error Domain=NSOSStatusErrorDomain Code=-67062 "(null)" | |
error 01:28:22.073882 -0400 obs CMIO_Unit_ScopeElement.h:200:SafeGetElement Throwing err: -67454 | |
error 01:28:22.074998 -0400 obs CMIOUnitFigBaseObjectImpl.c:246:CMIOUnitCreateFromDescription Invalid paramater | |
error 01:28:22.076430 -0400 obs CMIO_Unit_Input_Device.cpp:244:GetPropertyInfo CMIOUInputFromProcs::GetPropertyInfo() failed for id 102, Error: -67456 | |
error 01:28:22.419227 -0400 tccd Failed to copy signing info for 59133, responsible for file:///Applications/OBS.app/Contents/MacOS/OBS: #-67062: Error Domain=NSOSStatusErrorDomain Code=-67062 "(null)" | |
error 01:28:49.708298 -0400 tccd spooky magic for /Applications/OBS.app/Contents/MacOS/OBS (622F2123) | |
I removed the /var/db/DetachedSignatures file, and looked into some of the other areas, particularly "failed to copy signing info" errors with tcccd. | |
https://github.com/inket/update_xcode_plugins/issues/51 | |
https://github.com/GNS3/gns3-gui/issues/2596 | |
Some interesting stuff related to codesigning on Mojave, which is a pain in the ass. An interesting tidbit is that you can sign the app yourself...[see](https://github.com/inket/update_xcode_plugins/issues/51#issuecomment-425497999), referring to [this script](https://raw.githubusercontent.com/wakatime/xcode-wakatime/master/install.sh)...but this is related to self-signing XCODE. Can we self-sign OBS? | |
This [bug report](https://obsproject.com/forum/threads/warning-obs-does-not-work-on-macos-10-15-catalina.107171/) might shed some light. | |
Interesting, it mentions **running OBS from terminal** as a workaround. When doing this, a whole bunch of unseen debugging info errupts on the screen. `/Applications/OBS.app/Contents/MacOS/OBS` | |
Is the app even signed? IT IS NOT. `codesign -dv /Applications/OBS.app` says "the app is not signed at all" | |
Then this guy actually include the instructions on what to do. | |
https://gist.github.com/daveseah/81e4377974847e54ec663a721f1a2ef0/edit | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment