im develop service on Mac OS ( command line tools ) if im started service via terminal ./Service all work fine, service ask permission use camera and worked as expected