obs crashed while running in Xcode

choes

New Member
I succeded in building obs by following the steps of Using Xcode, but failed in running it. Xcode said it attempted to access privacy-sensitive data without a usage description.
I'm new to Xcode, I don't know how to configure Info.plist for obs after searching through Google. My Xcode version is 10.1(10B61), macOS version is 10.14(Mojave).
Could you give me some help? Thanks in advance.

屏幕快照 2018-11-01 上午12.00.18.png
 

choes

New Member
did you update to current git head ? there is a commit that fixes that issue : https://github.com/obsproject/obs-studio/commit/27b5c3be71d715f39a9f558378521dcd49af4579

Yes, I updated to the latest head version.
I checked the file named cmake/osxbundle/Info.plist, that two keys are already in it.
Code:
choes-young:obs-studio choes$ cat ./cmake/osxbundle/Info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>CFBundleIconFile</key>
    <string>OBS.icns</string>
    <key>CFBundleName</key>
    <string>OBS</string>
    <key>CFBundleGetInfoString</key>
    <string>OBS - Free and Open Source Streaming/Recording Software</string>
    <key>CFBundleExecutable</key>
    <string>OBS</string>
    <key>CFBundleIdentifier</key>
    <string>com.obsproject.obs-studio</string>
    <key>CFBundlePackageType</key>
    <string>APPL</string>
    <key>CFBundleSignature</key>
    <string>????</string>
    <key>LSMinimumSystemVersion</key>
    <string>10.8.5</string>
    <key>NSHighResolutionCapable</key>
    <true/>
    <key>LSAppNapIsDisabled</key>
    <true/>
    <key>NSCameraUsageDescription</key>
    <string>OBS needs to access the camera to enable camera sources to work.</string>
    <key>NSMicrophoneUsageDescription</key>
    <string>OBS needs to access the microphone to enable audio input.</string>
</dict>
</plist>
choes-young:obs-studio choes$
 
Last edited:
Top