Generating platform resources - failed!


#1

:heavy_check_mark: Uploading source images to prepare for transformations - done!
:heavy_multiplication_x: Generating platform resources - failed!
Error: encountered bad status code (400) for https://res.ionic.io/api/v1/transform
body: {“Error”:“source image 192x192 too small for icon-1024.png, requires at least 1024x1024 source file”}
at Response.res.on (/Users/Ghisi/Projects/Ionic/Conectcon/Tfs/conectconapp/CnsApp/node_modules/ionic/node_modules/@ionic/cli-utils/lib/cordova/resources.js:148:32)
at emitNone (events.js:105:13)
at Response.emit (events.js:207:7)
at emitNone (events.js:110:20)
at IncomingMessage.emit (events.js:207:7)
at endReadableNT (_stream_readable.js:1059:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)


#2

:resources Ghisi$ ionic info

cli packages: (/Users/Ghisi/Projects/Ionic/Conectcon/Tfs/conectconapp/CnsApp/node_modules)

@ionic/cli-utils  : 1.12.0
ionic (Ionic CLI) : 3.12.0

global packages:

cordova (Cordova CLI) : 7.0.1 

local packages:

@ionic/app-scripts : 2.1.4-201709202148
Cordova Platforms  : android 6.2.3 browser 4.1.0 ios 4.4.0
Ionic Framework    : ionic-angular 3.2.1

System:

ios-deploy : 1.9.0 
ios-sim    : 5.0.8 
Node       : v8.4.0
npm        : 5.4.1 
OS         : macOS Sierra
Xcode      : Xcode 8.3.3 Build version 8E3004b

#3

My icons and splahs are psd files with correctly size


#4

So this error message is lying?

This is old and should be updated.


#5

I have the exact same issue, my icon is 1024px x 1024px but it says it is 192px and “too small”

I fix it by deleting the android and ios dirs on resources/