The preferences files don't appear to be used to store which apps asked for permissions, so that shouldn't be needed. Judging from this, you can nuke the existing permissions state via:
rm ~/Library/Application\ Support/com.apple.TCC
then rebooting:
https://apple.stackexchange.com/questions/384317/how-do-i-reset-camera-and-m... https://apple.stackexchange.com/questions/384317/how-do-i-reset-camera-and-microphone-permission-on-macos-mojave
Before you do that, can you try running both of the following?
tccutil reset Microphone org.puredata.pd.pd-gui
tccutil reset Microphone org.puredata.pd
For me, running either of these results in
tccutil: No such bundle identifier
which is strange as *one* of those should be associated with the permissions state. Maybe this changed on macOS 10.15? I guess I should update one of these days, but I've been waiting for 11.0 and probably a new computer...
On Nov 4, 2020, at 4:27 PM, Ricky Graham rickygrahammusic@gmail.com wrote:
Hi Dan,
I just did that and loaded Pd. Sadly, Pd does not ask for permission to the mic but it does ask for permission to access my Documents folder. Same error when I switch on DSP.
Should I try deleting all Pd plists in existence?
Ricky
On Nov 4, 2020, at 10:13 AM, Dan Wilcox <danomatika@gmail.com mailto:danomatika@gmail.com> wrote:
Can you try resetting the Microphone permissions again then starting Pd?
In Terminal run:
tccutil reset Microphone
On my 10.14 system, running that clears the Microphone privacy list and I see a popup requesting mic access when toggling on dsp. (Unfortunately with the wrong info string, although that's a different issue.)
I'm wondering if this is a result of the system registering the GUI asking for permissions but the core is what really needs it, so there is a mismatch as both have different bund ids, ie. org.puredata.pd & org.puredata.pd.pd-gui. The system uses the bundle id when registering th app in the privacy list.
On Nov 4, 2020, at 3:46 PM, Ricky Graham <rickygrahammusic@gmail.com mailto:rickygrahammusic@gmail.com> wrote:
Hi Dan.
Thanks for your help.
MBP 15-inch 2017 / 3.1 GHz Quad-Core Intel Core i7 I’m attempting to use the built-in audio input and output on the laptop. I do have Blackhole installed, too. No JACK. Built-in audio input and output. No, and that might be the issue. The program never requested access. Other applications did request access, such as Live. Those are listed there. No, because Pd is not listed as an application, currently.
I hope this helps.
Ricky
On Nov 4, 2020, at 9:13 AM, Dan Wilcox <danomatika@gmail.com mailto:danomatika@gmail.com> wrote:
I was also hoping that would help.
Ricky, then we need more info:
- What's the machine?
- What audio devices do you have?
- Which devices are set for audio input and audio output?
- Is Pd listed in the System Preferences app Security & Privacy panel's Privacy tab for the Microphone?
- Did you try toggling off, then on the Microphone access privacy setting, and restarting Pd?
I'm still running macOS 10.14 and the 10.15 machines at work are all out for use during the lockdown here, so I cannot test it personally.
Miller, perhaps what we need is a better Portaudio error message as this may be unrelated to the permissions. I can look into that now.
On Nov 4, 2020, at 10:12 AM, pd-list-request@lists.iem.at mailto:pd-list-request@lists.iem.at wrote:
Date: Tue, 3 Nov 2020 13:52:45 -0800 From: Miller Puckette <msp@ucsd.edu mailto:msp@ucsd.edu> To: Ricky Graham <rickygrahammusic@gmail.com mailto:rickygrahammusic@gmail.com> Cc: pd-list@lists.iem.at mailto:pd-list@lists.iem.at Subject: Re: [PD] [PD-announce] Pd 0.513 test5 released (IOhannes m zm??lnig) Message-ID: <20201103215245.GA578719@ucsd.edu mailto:20201103215245.GA578719@ucsd.edu> Content-Type: text/plain; charset=us-ascii
Well, hmm, Iwas hoping Dan's new entitlements declarations in info.plist would take care of that.
It has something to do with entitlements I think....
M
On Tue, Nov 03, 2020 at 04:35:23PM -0500, Ricky Graham wrote:
Hi, Miller.
I???m not sure if this build was in any way intended to address the error opening audio: Internal PortAudio issue I am receiving but unfortunately this error persists with your new test build on macOS Catalina 10.15.7. Anything else I could/should try?
Ricky
Dan Wilcox @danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
Dan Wilcox @danomatika http://twitter.com/danomatika danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/