Page 1 of 1

MacOS Build Requesting Microphone Permission

Posted: Fri Feb 09, 2024 8:59 pm
by screenwriter
Hi! This is my first Ren'Py build and I'm thrilled with how everything is coming together. When I cranked out a MacOS build (I'm running Ventura 13.6.4) and opened it for the first time, a dialogue box mentioned that the app wanted to use the microphone. Nothing in my game requires a user's microphone and my desired operation is for this message to not appear on MacOS when starting up the game. Regardless of whether I click "Don't Allow" or "OK," the dialogue box does not appear upon subsequent openings. Any advice would be greatly appreciated!

Re: MacOS Build Requesting Microphone Permission

Posted: Fri Feb 09, 2024 10:19 pm
by PyTom
I don't know of anything that would cause this in stock Ren'Py, and after building an unsigned app, it doesn't seem to cause this.

Are you doing anything to get your game signed and notarized?

Re: MacOS Build Requesting Microphone Permission

Posted: Fri Feb 09, 2024 10:43 pm
by screenwriter
Thanks for the reply. I'm hitting "Build Distributions" and then "Macintosh" under "Build Packages." Otherwise I'm not signing or notarizing anything.

Re: MacOS Build Requesting Microphone Permission

Posted: Fri Feb 09, 2024 11:33 pm
by screenwriter
Just tested it on a Mac with Sonoma 14.2.1 and it didn't have the issue. Weird. Any ideas would be welcome.

Re: MacOS Build Requesting Microphone Permission

Posted: Fri Feb 09, 2024 11:49 pm
by PyTom
At this point, I have no idea. Could be a problem on Apple's end.

Re: MacOS Build Requesting Microphone Permission

Posted: Sat Feb 10, 2024 2:11 am
by screenwriter
Just tried opening it on another Mac with Ventura installed and had the same issue. I don't have anything in my code that would request microphone usage on a Mac (indeed, I have no idea how to even do that in the first place). Please let me know if anything else comes to mind that might be causing this. I wouldn't want users to think I need mic access when I don't.

Re: MacOS Build Requesting Microphone Permission

Posted: Sat Feb 10, 2024 2:17 am
by screenwriter
When I built a Mac export of The Question (the sample project that comes with Ren'Py), it gives me the same issue.

Re: MacOS Build Requesting Microphone Permission

Posted: Sat Feb 10, 2024 2:29 pm
by screenwriter
Made a build this morning on Sonoma, then tried opening it on that machine and on the Ventura machine. The Sonoma one had no issues. The Ventura one asked for microphone permissions. Must be a Ventura thing. I'd love to find the cause, as if any user who's running Ventura opens it, I don't want them to think it needs to use the microphone. If there are any folks still on Ventura who are on the forums, I wonder as to whether their builds encounter the same issue.