Closed ajatprabha closed 2 years ago
Found the solution:
Adding this to setup.py fixed the issue, I was first trying to manually edit the Info.plist
, just putting this here for others to find.
OPTIONS = {
'plist': {
'NSMicrophoneUsageDescription': 'Need microphone access for XYZ purpose',
}
}
Closing this issue.
I was trying to bundle an app that requires microphone permission.
In the development phase, it asks for permission via iTerm(terminal I'm using). But when I bundle the app, it doesn't ask for any permissions and fails to work, I tried to explicitly check and ask for the permission on app startup using
PyObjC
andpyobjc-framework-AVFoundation
and following Apple docs with no luck so far.Any examples on the same would be very helpful. TIA