V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
shindgewongxj
V2EX  ›  macOS

macOS 第三方应用无法使用 microphone 怎么解决?

  •  1
     
  •   shindgewongxj · 2020-03-31 10:48:24 +08:00 · 1313 次点击
    这是一个创建于 1458 天前的主题,其中的信息可能已经有所发展或是发生改变。

    应用在 Security & Privacy > Privacy > Microphone 列表中未显示如何添加?

    第 1 条附言  ·  2020-03-31 19:10:19 +08:00

    Solved:

    • reboot to recovery mode
    • open Terminal
    • type csrutil disable
    • reboot to system
    • open Terminal
    • type sudo sqlite3 ~/Library/Application\ Support/com.apple.TCC/TCC.db "INSERT or REPLACE INTO access VALUES('kTCCServiceMicrophone','com.riotgames.leagueoflegends',0,1,1,NULL,NULL,NULL,'UNUSED',NULL,0,1551892126);
    • type /usr/libexec/PlistBuddy -c "Add NSMicrophoneUsageDescription string" /Applications/League\ of\ Legends.app/Contents/Info.plist
    • type /usr/libexec/PlistBuddy -c "Set :NSMicrophoneUsageDescription Using voice chat" /Applications/League\ of\ Legends.app/Contents/Info.plist
    • reboot to recovery mode
    • open Terminal
    • type csrutil enable
    • Done
    5 条回复    2020-03-31 18:15:55 +08:00
    sobigfish
        2
    sobigfish  
       2020-03-31 13:01:03 +08:00
    没加就是开发商的锅,不知道 lz 是作为用户还是开发商在问
    加了没有就是 macOS 的问题-。-
    shindgewongxj
        3
    shindgewongxj  
    OP
       2020-03-31 16:16:24 +08:00
    @sobigfish :P 用户
    clrss
        4
    clrss  
       2020-03-31 17:15:26 +08:00
    参考 Audacity 的 workaround

    无权贴链接 搜 "MacOS 10.15 (Catalina) does not support Audacity 2.3.2"

    关键步骤
    open /Applications/Audacity.app/Contents/MacOS/Audacity
    shindgewongxj
        5
    shindgewongxj  
    OP
       2020-03-31 18:15:55 +08:00
    @clrss 试了可以用,但是麦克风权限是给 terminal 的,而直接打开应用还是不行的。 ( League of Legends )
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1369 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 17:38 · PVG 01:38 · LAX 10:38 · JFK 13:38
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.