title: Cordova iOS build fails with 'edit-config' tag
body: <p>I have an Ionic 3 app (<b>Ionic CLI 3.19.0, Cordova CLI 8.0.0, android platform 7.0.0,
  ios platform 4.5.4</b>) that includes the native 'Geolocation' plugin.  Since iOS 10+ requires the <code>NSLocationWhenInUseUsageDescription</code> property in the App-Info.plist file, the plugin's documentation (<a href="https://github.com/apache/cordova-plugin-geolocation#ios-quirks" rel="noreferrer" title="Geolocation iOS Quirks">Geolocation iOS Quirks</a>) says to include the following in the config.xml:</p>
  <pre><code>&lt;edit-config target=&quot;NSLocationWhenInUseUsageDescription&quot; file=&quot;*-Info.plist&quot; mode=&quot;merge&quot;&gt;
     &lt;string&gt;need location access to find things nearby&lt;/string&gt;
  &lt;/edit-config&gt;
  </code></pre>
  <p>So I added that verbatim as the first entry within <code>&lt;platform name=&quot;ios&quot;&gt;...&lt;/platform&gt;</code> tag of my config.xml.</p>
  <p>During the cordova iOS stage of the build, it fails with the following obscure errors:</p>
  <blockquote>
  <p>(node:60604)UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: doc.find is not a function</p>
  <p>(node:60604) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.</p>
  </blockquote>