macOS Big Sur 第三方应用授权麦克风的问题

2020-07-11 18:07:18 +08:00
 shindgewongxj

Application Name : League of Legends

  1. reboot to recovery mode
  2. run ‘csrutil disable’ with Terminal
  3. reboot to system
  4. run ‘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);’

Error: table access has 13 columns but 12 values were supplied

之前 Catalina 的时候这样解决过,但是 Big Sur 不行。 麻烦问一下这个怎么解决? 只是想单纯的用 league voice 开黑,谢谢!

2713 次点击
所在节点    macOS
8 条回复
MsHan
2020-07-13 11:10:57 +08:00
我的 Mac 微信语音通话,对方永远听不到声音。
ihwbunny
2020-07-14 04:57:56 +08:00
没有装 BigSur 。看看下面命令的输出:
/usr/bin/sqlite3 ~/Library/Application\ Support/com.apple.TCC/TCC.db "select * from access"
shindgewongxj
2020-07-17 23:30:40 +08:00
@ihwbunny 研究不明白...
ihwbunny
2020-07-18 09:21:12 +08:00
@shindgewongxj 可以吧结果贴出来啊,别人看看能不能帮你啊
shindgewongxj
2020-07-20 10:32:03 +08:00
@ihwbunny 输出值如下
kTCCServiceLiverpool|com.apple.TrustedPeersHelper|0|2|0|1|??
|||UNUSED||0|1593612447
kTCCServiceLiverpool|com.apple.Safari.History|0|2|0|1|??
|||UNUSED||0|1593612734
kTCCServiceUbiquity|com.apple.ScriptEditor2|0|2|0|1||||UNUSED||0|1593612739
kTCCServiceUbiquity|com.apple.QuickTimePlayerX|0|2|0|1||||UNUSED||0|1593612739
kTCCServiceUbiquity|com.apple.Preview|0|2|0|1||||UNUSED||0|1593612739
kTCCServiceUbiquity|com.apple.TextEdit|0|2|0|1||||UNUSED||0|1593612739
kTCCServiceUbiquity|com.apple.mail|0|2|0|1||||UNUSED||0|1593612740
kTCCServiceUbiquity|com.apple.weather|0|2|0|1|??
|||UNUSED||0|1593614470
kTCCServiceLiverpool|com.apple.stocks-widget-container|0|2|0|1|??
|||UNUSED||0|1593614470
kTCCServiceUbiquity|/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/Versions/A/Support/photolibraryd|1|2|5|1||||UNUSED||0|1593616462
kTCCServiceUbiquity|/System/Library/PrivateFrameworks/ContactsDonation.framework/Versions/A/Support/contactsdonationagent|1|2|5|1||||UNUSED||0|1593648548
kTCCServiceUbiquity|com.apple.iWork.Pages|0|2|4|1||||UNUSED||0|1593649424
kTCCServiceUbiquity|com.apple.iWork.Numbers|0|2|4|1||||UNUSED||0|1593649494
kTCCServiceWebKitIntelligentTrackingPrevention|com.apple.Safari|0|2|5|1||||UNUSED||0|1593649588
kTCCServiceUbiquity|com.apple.Safari|0|2|5|1||||UNUSED||0|1593649651
kTCCServiceUbiquity|com.apple.SCIM-Container|0|2|5|1||||UNUSED||0|1593649721
kTCCServiceAppleEvents|net.obins.obinslab-starter|0|2|3|1|??
||0|com.apple.systemevents|??
||1593650888
kTCCServiceUbiquity|com.apple.iWork.Keynote|0|2|4|1||||UNUSED||0|1593651359
kTCCServiceUbiquity|com.apple.iMovieApp|0|2|4|1||||UNUSED||0|1593651833
kTCCServiceLiverpool|com.apple.stocks|0|2|5|1||||UNUSED||0|1593653195
kTCCServiceUbiquity|com.apple.garageband10|0|2|4|1||||UNUSED||0|1593654236
kTCCServiceLiverpool|com.apple.Maps|0|2|5|1||||UNUSED||0|1593658160
kTCCServiceCamera|com.tencent.xinWeChat|0|2|2|1|??
|||UNUSED||0|1593664015
kTCCServiceMicrophone|com.tencent.xinWeChat|0|2|2|1|??
|||UNUSED||0|1593664018
kTCCServiceWebKitIntelligentTrackingPrevention|com.apple.systempreferences|0|2|5|1||||UNUSED||0|1593670858
kTCCServiceLiverpool|com.apple.Notes|0|2|5|1||||UNUSED||0|1593670928
kTCCServiceLiverpool|com.apple.mail|0|2|5|1||||UNUSED||0|1593670950
kTCCServicePhotos|com.apple.iMovieApp|0|2|2|1|??
|||UNUSED||0|1593673007
kTCCServiceMicrophone|com.apple.garageband10|0|2|2|1|??
|||UNUSED||0|1593673416
kTCCServiceLiverpool|com.apple.imtransferservices.IMTransferAgent|0|2|5|1||||UNUSED||0|1594199136
ihwbunny
2020-07-21 11:25:13 +08:00
命令应该是:
sudo sqlite3 ~/Library/Application\ Support/com.apple.TCC/TCC.db "INSERT or REPLACE INTO access VALUES('kTCCServiceMicrophone','com.riotgames.leagueoflegends',0,1,1,1,NULL,NULL,NULL,'UNUSED',NULL,0,1551892126)
shindgewongxj
2020-07-22 10:36:46 +08:00
@ihwbunny 谢谢 已解决 我用的是 0,2,2,1,null,null,null,,unused,null,0,1551892126
ihwbunny
2020-07-23 12:27:33 +08:00
解决就好

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/689204

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX