Thanks for the information Christian. That seemed to work to get get the permissions fixed, the OS now puts up a dialog asking to give “Recorder.debug” access to the camera. After allowing access, the camera turns on and the app immediately crashes again. Are you getting the same behavior? If not I can forward you the crash report.
Cheers. -bill k > On Oct 24, 2019, at 11:43 PM, Christian Schmitz > <supp...@monkeybreadsoftware.de> wrote: > > > >> Am 25.10.2019 um 06:49 schrieb William Koperwhats >> <wkoperwh...@miloslick.com>: >> >> I can’t seem to get *any* of the AVFoundation example projects that >> interface with camera or video capture hardware to run in Catalina on a >> MacBook Pro, nor in High Sierra on a MacBook Air. > > You get a crash dialog telling you the missing permissions. > > Please make an info.plist file with a text editor and this content: > > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" > "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> > <plist version="1.0"> > <dict> > <key>NSCameraUsageDescription</key> > <string>Demo</string> > </dict> > </plist> > > > Drop that file into the project, so it's included in compilation. > Then permissions dialog should show. > > > And we have newer functions for authorization. see > authorizationStatusForMediaType and requestAccessForMediaType in > AVCaptureDeviceMBS class. > > > Finally you may need to code sign the app before giving it to someone else. > > Sincerely > Christian > > -- > Read our blog about news on our plugins: > > http://www.mbsplugins.de/ > > > > _______________________________________________ > mbsplugins@monkeybreadsoftware.info mailing list > %(list_address)s > https://ml-cgn08.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info _______________________________________________ mbsplugins@monkeybreadsoftware.info mailing list %(list_address)s https://ml-cgn08.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info