I'm using Mac. I'm trying to generate icons and splash screens using the command
ionic cordova resources ios --icon
but I always get this error:
[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
icon: icon.png , dimensions 1024x1024.
splash: splash.png , dimensions 2048x2048.
It generates the directory resources/ios/icon contains .png files but when I try to open it I get this alert The file “icon-40.png” could not be opened because it is empty.
, and when I try to build ios I get this error Error: Source path does not exist: resources/ios/icon/icon-40.png
ionic info:
global packages:
@ionic/cli-utils : 1.3.0
Cordova CLI : 7.0.1
Ionic CLI : 3.3.0
local packages:
@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
System:
Node : v6.11.0
OS : macOS Sierra
Xcode : Xcode 7.3.1 Build version 7D1014
ios-deploy : 1.9.1
ios-sim : not installed