title: Cordova 8 + iOS 4.5.4 = cannot find module "../cordova/platform_metadata"
body: <p>Since the latest update to v8 of Cordova, I cannot build anything on Mac.
  I always get </p>
  
  <pre><code>(node 626) UnhandledPromiseRejectionWarning: Error: Cannot find module '../cordova/platform_metadata'
  </code></pre>
  
  <p>I tried what was suggested in <a href="https://stackoverflow.com/questions/37806958/cordova-cannot-find-module">this</a> post but I get the same error.</p>
  
  <p>I then did a verbose and it seems like the plugin required to build for ios is not working well</p>
  
  <pre><code>Executing script found in plugin cordova-plugin-swift-support for hook "after_prepare": plugins/cordova-plugin-swift-support/src/add-swift-support.js
  Resolving module name for cordova-lib/src/cordova/platform_metadata =&gt; ../cordova/platform_metadata
  (node:599) UnhandledPromiseRejectionWarning: Unhandled promise rejection 
  (rejection id: 1): Error: Cannot find module '../cordova/platform_metadata'
  (node:599) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.
  </code></pre>