Can not create Icons android or IOS ERROR

ionic cordova resources ios -i

[ERROR] Source image files were not found for the following platforms/types:
        
        - ios/icon
        

Collecting resource configuration and source images - done!
✔ Filtering out image resources that do not need regeneration - done!
✔ Uploading source images to prepare for transformations: 1 / 1 complete - done!
✔ Generating platform resources: 13 / 13 complete - done!
✔ Modifying config.xml to add new image resources - done!
KamalSalahs-iMac:BontiderSverige_V300 kamalsalah$ ionic cordova resources ios -i
[ERROR] Source image files were not found for the following platforms/types:
        
        - ios/icon
        
        Please review --help

the file info is:
Dimention 1024x1024
Colorspace: RGB
Alhpha channel: No
Filetype: png

What file info are you talking about?

my icon.png info that is in the folder: resources

this file that you put so ionic cordova resources ios -i generate the icons.

Why does it not found the icon.png file? Should it not find it or it in wrong type ?
This is the second time i get this. Last time I generate a project and the took the icon.png file and edit it and save it then it worked. But what it the different between the files.?