title: ionic 2: Can't create resources (icon, splash)
body: <p>I'm using Mac.
  I'm trying to generate icons and splash screens using the command</p>
  
  <pre><code>ionic cordova resources ios --icon
  </code></pre>
  
  <p>but I always get this error:</p>
  
  <pre><code>[WARN] Error occurred during command execution from a CLI plugin (@ionic/cli-plugin-cordova). Your plugins may be out of date.
  ✖ Generating platform resources - failed!
  Error: connect ETIMEDOUT 104.20.7.16:443
  </code></pre>
  
  <p>icon: icon.png , dimensions 1024x1024.</p>
  
  <p>splash: splash.png , dimensions 2048x2048.</p>
  
  <p>It generates the directory resources/ios/icon contains .png files but when I try to open it I get this alert <code>The file “icon-40.png” could not be opened because it is empty.</code>, and when I try to build ios I get this error <code>Error: Source path does not exist: resources/ios/icon/icon-40.png</code>
  ionic info:</p>
  
  <pre><code>global packages:
  
  @ionic/cli-utils : 1.3.0
  Cordova CLI      : 7.0.1 
  Ionic CLI        : 3.3.0
  </code></pre>
  
  <p>local packages:</p>
  
  <pre><code>@ionic/app-scripts              : 1.1.4
  @ionic/cli-plugin-cordova       : 1.3.0
  @ionic/cli-plugin-ionic-angular : 1.3.0
  Cordova Platforms               : android 6.1.2 ios 4.4.0
  Ionic Framework                 : ionic-angular 2.3.0
  </code></pre>
  
  <p>System:</p>
  
  <pre><code>Node       : v6.11.0
  OS         : macOS Sierra
  Xcode      : Xcode 7.3.1 Build version 7D1014 
  ios-deploy : 1.9.1 
  ios-sim    : not installed
  </code></pre>