Added authorization request to AVFoundation camera backend (OSX 10.14+)#14267
Added authorization request to AVFoundation camera backend (OSX 10.14+)#14267alalek merged 2 commits intoopencv:masterfrom
Conversation
|
@jeroen, @BluesJiang , please check if the fix works for you. |
|
Does In our case, applications are built in MacOS 10.11 but the problem appears only when the application runs on MacOS 10.14+. So I'm not sure this would fix it? |
It is build-time check. Not sure if you can build code with 10.14 and after that run it on MacOS 10.11. |
|
/cc @ilovezfs @fxcoudert Any idea how to deal with Mojave permissions properly? How is homebrew preparing pre-compiled bottles for different MacOS versions? |
The other way around. The application and installer are built on MacOS 10.11, and users can then install it on MacOS 10.11 or greater. So you need to check the MacOS version at run-time... |
resolves #14258
resolves #12763
This pullrequest changes
Added authorization status check and authorization request to AVFoundation camera backend for OSX Mojave (10.14+).
Note: to be backported to 3.4 with part of #14156
force_builders_only=Mac,iOS