title: Ionic IOS Camera permission still denied after set usage description in config.xml
body: <p>I would like to ask that why i still does not have camera permission for ios device when i already set NSCameraUsageDescription in the config xml. Below attachment photo is the error i got when i run the camera function. Before that, the config.xml is hidden for me which i use , <code>ionic integrations enable cordova --add</code> to enable it and configure it.</p>
  <pre><code>   &lt;platform name=&quot;ios&quot;&gt;
         &lt;allow-intent href=&quot;itms:*&quot; /&gt;
         &lt;allow-intent href=&quot;itms-apps:*&quot; /&gt;
         &lt;config-file parent=&quot;NSCameraUsageDescription&quot; platform=&quot;ios&quot; target=&quot;*-Info.plist&quot;&gt;
             &lt;string&gt;You can take photos&lt;/string&gt;
         &lt;/config-file&gt;
         &lt;icon height=&quot;57&quot; src=&quot;resources/ios/icon/icon.png&quot; width=&quot;57&quot; /&gt;
         &lt;icon height=&quot;114&quot; src=&quot;resources/ios/icon/icon@2x.png&quot; width=&quot;114&quot; /&gt;
         &lt;icon height=&quot;29&quot; src=&quot;resources/ios/icon/icon-small.png&quot; width=&quot;29&quot; /&gt;
         &lt;icon height=&quot;58&quot; src=&quot;resources/ios/icon/icon-small@2x.png&quot; width=&quot;58&quot; /&gt;
         &lt;icon height=&quot;87&quot; src=&quot;resources/ios/icon/icon-small@3x.png&quot; width=&quot;87&quot; /&gt;
         &lt;icon height=&quot;20&quot; src=&quot;resources/ios/icon/icon-20.png&quot; width=&quot;20&quot; /&gt;
         &lt;icon height=&quot;40&quot; src=&quot;resources/ios/icon/icon-20@2x.png&quot; width=&quot;40&quot; /&gt;
         &lt;icon height=&quot;60&quot; src=&quot;resources/ios/icon/icon-20@3x.png&quot; width=&quot;60&quot; /&gt;
         &lt;icon height=&quot;48&quot; src=&quot;resources/ios/icon/icon-24@2x.png&quot; width=&quot;48&quot; /&gt;
         &lt;icon height=&quot;55&quot; src=&quot;resources/ios/icon/icon-27.5@2x.png&quot; width=&quot;55&quot; /&gt;
         &lt;icon height=&quot;29&quot; src=&quot;resources/ios/icon/icon-29.png&quot; width=&quot;29&quot; /&gt;
         &lt;icon height=&quot;58&quot; src=&quot;resources/ios/icon/icon-29@2x.png&quot; width=&quot;58&quot; /&gt;
         &lt;icon height=&quot;87&quot; src=&quot;resources/ios/icon/icon-29@3x.png&quot; width=&quot;87&quot; /&gt;
         &lt;icon height=&quot;40&quot; src=&quot;resources/ios/icon/icon-40.png&quot; width=&quot;40&quot; /&gt;
         &lt;icon height=&quot;80&quot; src=&quot;resources/ios/icon/icon-40@2x.png&quot; width=&quot;80&quot; /&gt;
         &lt;icon height=&quot;120&quot; src=&quot;resources/ios/icon/icon-40@3x.png&quot; width=&quot;120&quot; /&gt;
         &lt;icon height=&quot;88&quot; src=&quot;resources/ios/icon/icon-44@2x.png&quot; width=&quot;88&quot; /&gt;
         &lt;icon height=&quot;50&quot; src=&quot;resources/ios/icon/icon-50.png&quot; width=&quot;50&quot; /&gt;
         &lt;icon height=&quot;100&quot; src=&quot;resources/ios/icon/icon-50@2x.png&quot; width=&quot;100&quot; /&gt;
         &lt;icon height=&quot;60&quot; src=&quot;resources/ios/icon/icon-60.png&quot; width=&quot;60&quot; /&gt;
         &lt;icon height=&quot;120&quot; src=&quot;resources/ios/icon/icon-60@2x.png&quot; width=&quot;120&quot; /&gt;
         &lt;icon height=&quot;180&quot; src=&quot;resources/ios/icon/icon-60@3x.png&quot; width=&quot;180&quot; /&gt;
         &lt;icon height=&quot;72&quot; src=&quot;resources/ios/icon/icon-72.png&quot; width=&quot;72&quot; /&gt;
         &lt;icon height=&quot;144&quot; src=&quot;resources/ios/icon/icon-72@2x.png&quot; width=&quot;144&quot; /&gt;
         &lt;icon height=&quot;76&quot; src=&quot;resources/ios/icon/icon-76.png&quot; width=&quot;76&quot; /&gt;
         &lt;icon height=&quot;152&quot; src=&quot;resources/ios/icon/icon-76@2x.png&quot; width=&quot;152&quot; /&gt;
         &lt;icon height=&quot;167&quot; src=&quot;resources/ios/icon/icon-83.5@2x.png&quot; width=&quot;167&quot; /&gt;
         &lt;icon height=&quot;172&quot; src=&quot;resources/ios/icon/icon-86@2x.png&quot; width=&quot;172&quot; /&gt;
         &lt;icon height=&quot;196&quot; src=&quot;resources/ios/icon/icon-98@2x.png&quot; width=&quot;196&quot; /&gt;
         &lt;icon height=&quot;1024&quot; src=&quot;resources/ios/icon/icon-1024.png&quot; width=&quot;1024&quot; /&gt;
         &lt;splash height=&quot;480&quot; src=&quot;resources/ios/splash/Default~iphone.png&quot; width=&quot;320&quot; /&gt;
         &lt;splash height=&quot;960&quot; src=&quot;resources/ios/splash/Default@2x~iphone.png&quot; width=&quot;640&quot; /&gt;
         &lt;splash height=&quot;1024&quot; src=&quot;resources/ios/splash/Default-Portrait~ipad.png&quot; width=&quot;768&quot; /&gt;
         &lt;splash height=&quot;768&quot; src=&quot;resources/ios/splash/Default-Landscape~ipad.png&quot; width=&quot;1024&quot; /&gt;
         &lt;splash height=&quot;1125&quot; src=&quot;resources/ios/splash/Default-Landscape-2436h.png&quot; width=&quot;2436&quot; /&gt;
         &lt;splash height=&quot;1242&quot; src=&quot;resources/ios/splash/Default-Landscape-736h.png&quot; width=&quot;2208&quot; /&gt;
         &lt;splash height=&quot;2048&quot; src=&quot;resources/ios/splash/Default-Portrait@2x~ipad.png&quot; width=&quot;1536&quot; /&gt;
         &lt;splash height=&quot;1536&quot; src=&quot;resources/ios/splash/Default-Landscape@2x~ipad.png&quot; width=&quot;2048&quot; /&gt;
         &lt;splash height=&quot;2732&quot; src=&quot;resources/ios/splash/Default-Portrait@~ipadpro.png&quot; width=&quot;2048&quot; /&gt;
         &lt;splash height=&quot;2048&quot; src=&quot;resources/ios/splash/Default-Landscape@~ipadpro.png&quot; width=&quot;2732&quot; /&gt;
         &lt;splash height=&quot;1136&quot; src=&quot;resources/ios/splash/Default-568h@2x~iphone.png&quot; width=&quot;640&quot; /&gt;
         &lt;splash height=&quot;1334&quot; src=&quot;resources/ios/splash/Default-667h.png&quot; width=&quot;750&quot; /&gt;
         &lt;splash height=&quot;2208&quot; src=&quot;resources/ios/splash/Default-736h.png&quot; width=&quot;1242&quot; /&gt;
         &lt;splash height=&quot;2436&quot; src=&quot;resources/ios/splash/Default-2436h.png&quot; width=&quot;1125&quot; /&gt;
         &lt;splash height=&quot;2732&quot; src=&quot;resources/ios/splash/Default@2x~universal~anyany.png&quot; width=&quot;2732&quot; /&gt;
     &lt;/platform&gt;
     &lt;plugin name=&quot;cordova-plugin-whitelist&quot; spec=&quot;1.3.3&quot; /&gt;
     &lt;plugin name=&quot;cordova-plugin-statusbar&quot; spec=&quot;2.4.2&quot; /&gt;
     &lt;plugin name=&quot;cordova-plugin-device&quot; spec=&quot;2.0.2&quot; /&gt;
     &lt;plugin name=&quot;cordova-plugin-splashscreen&quot; spec=&quot;5.0.2&quot; /&gt;
     &lt;plugin name=&quot;cordova-plugin-ionic-webview&quot; spec=&quot;^4.0.0&quot; /&gt;
     &lt;plugin name=&quot;cordova-plugin-ionic-keyboard&quot; spec=&quot;^2.0.5&quot; /&gt;
  &lt;/widget&gt;
  </code></pre>
  <p><a href="https://i.stack.imgur.com/ydpsL.png" rel="nofollow noreferrer">xCode Console log</a></p>
  <p><a href="https://i.stack.imgur.com/sLfI9.png" rel="nofollow noreferrer">Config xml</a></p>