-1

won't open camera

I have already added a info.plist file, but it just wont let me use the webcam.I am in a fix as I have already tried editing the info.plist as a source file. Correct me if I am missing something. Also linked the info.plist to the plist for the app in general settings. Am I missing something? Link the the error is given in the blue highlighted section

Cœur
  • 37,241
  • 25
  • 195
  • 267
P Sing
  • 21
  • 3

1 Answers1

0

You need to set Privacy - Camera Usage Description in Info.plist, not NSCameraDescription.

Quang Hoang
  • 146,074
  • 10
  • 56
  • 74
  • Yeah. It wouldn't work. I have Mojave and now upgraded to XCode 10.0.1. Still wouldn't work after trying your way. – P Sing Feb 15 '19 at 08:00