After macOS 10.14, User must grant permission for each app.
But some Apps don't work properly (Example :: Pycharm)
- Find
Bundle ID
for target application that you want to grant permission. Make new Xcode Project
with found Bundle ID.Write Code
that grant permission for app.- Run Target Application to Check permission.
Tutorial With Example (For Pycharm)
Tutorial Without Example (Any Application)
When is not working...
- Toggle Permission
- Open Target Application
System Preferences > Security & Privacy > Privacy > Camera
- Just toggle several times (
Check > Uncheck > Check
).
- Reset Permission & Retry
- Open Terminal
tccutil reset Camera
ortccutil reset Camera BUNDLE_ID
- It will reset permission status
- Retry..
- Make Issue.. (If I can help, I will help you.)