Package build error : Invalid transformation: invalid height: 2732 (CLI v1.7.15)


#1

I hope I haven’t posted this in the wrong area - I’m trying to package a new release however am getting the error:

Invalid transformation: invalid height: 2732

Is anyone else having this issue?


#2

Hi, have you resolved this? I am having the same problem.

Thanks


#3

Have been able to successfully submit using the --noresources parameter


#4

I am also having this issue.

Ionic Info:
Cordova CLI: 6.2.0 Gulp version: CLI version 3.9.0 Gulp local: Local version 3.9.1 Ionic Framework Version: 1.3.0 Ionic CLI Version: 1.7.15 Ionic App Lib Version: 0.7.2 ios-deploy version: 1.8.4 ios-sim version: 5.0.4 OS: Mac OS X El Capitan Node Version: v5.3.0 Xcode version: Xcode 7.3 Build version 7D175

doing --noresources allowed me to build android.

Not positive this is related, but when I run ‘ionic resources’ it seems to process my icon and splash, but the images are not placed into their folders and the config.xml is not updated. FYI I am using the PSD templates I downloaded from here: http://ionicframework.com/docs/cli/icon-splashscreen.html
here is the output:

Ionic icon and splash screen resources generator uploading icon.psd... uploading splash.psd... icon.psd (192x192) upload complete splash.psd (2732x2732) upload complete generating splash ios Default~iphone.png (320x480)... generating splash ios Default@2x~iphone.png (640x960)... generating splash ios Default-Portrait~ipad.png (768x1024)... splash ios Default~iphone.png (320x480) generated generating splash ios Default-Portrait@~ipadpro.png (2048x2732)... splash ios Default@2x~iphone.png (640x960) generated generating splash ios Default-Portrait@2x~ipad.png (1536x2048)... splash ios Default-Portrait~ipad.png (768x1024) generated generating splash ios Default-736h.png (1242x2208)... splash ios Default-736h.png (1242x2208) generated generating splash ios Default-667h.png (750x1334)... splash ios Default-Portrait@2x~ipad.png (1536x2048) generated generating splash ios Default-568h@2x~iphone.png (640x1136)... splash ios Default-667h.png (750x1334) generated generating splash android drawable-port-xxxhdpi-screen.png (1280x1920)... splash ios Default-568h@2x~iphone.png (640x1136) generated generating splash android drawable-port-xxhdpi-screen.png (960x1600)... splash android drawable-port-xxxhdpi-screen.png (1280x1920) generated generating splash android drawable-port-xhdpi-screen.png (720x1280)... splash android drawable-port-xxhdpi-screen.png (960x1600) generated generating splash android drawable-port-hdpi-screen.png (480x800)... splash android drawable-port-xhdpi-screen.png (720x1280) generated splash android drawable-port-mdpi-screen.png (320x480) generated generating splash android drawable-port-ldpi-screen.png (240x320)... splash android drawable-port-hdpi-screen.png (480x800) generated generating icon ios icon-small@3x.png (87x87)... icon ios icon-small@3x.png (87x87) generated generating icon ios icon-small@2x.png (58x58)... splash android drawable-port-ldpi-screen.png (240x320) generated generating icon ios icon-small.png (29x29)... icon ios icon-small@2x.png (58x58) generated generating icon ios icon-83.5@2x.png (167x167)... icon ios icon-small.png (29x29) generated generating icon ios icon-76@2x.png (152x152)... icon ios icon-83.5@2x.png (167x167) generated generating icon ios icon-76.png (76x76)... icon ios icon-76@2x.png (152x152) generated generating icon ios icon-72@2x.png (144x144)... icon ios icon-76.png (76x76) generated generating icon ios icon-72.png (72x72)... icon ios icon-72.png (72x72) generated generating icon ios icon-60@3x.png (180x180)... icon ios icon-72@2x.png (144x144) generated generating icon ios icon-60@2x.png (120x120)... icon ios icon-60@2x.png (120x120) generated generating icon ios icon-60.png (60x60)... icon ios icon-60@3x.png (180x180) generated generating icon ios icon-50@2x.png (100x100)... icon ios icon-60.png (60x60) generated generating icon ios icon-50.png (50x50)... icon ios icon-50@2x.png (100x100) generated icon ios icon-40@3x.png (120x120) generated generating icon ios icon-40@2x.png (80x80)... icon ios icon-50.png (50x50) generated generating icon ios icon-40.png (40x40)... icon ios icon-40@2x.png (80x80) generated generating icon ios icon@2x.png (114x114)... icon ios icon-40.png (40x40) generated generating icon ios icon.png (57x57)... icon ios icon.png (57x57) generated generating icon android drawable-xxxhdpi-icon.png (192x192)... icon ios icon@2x.png (114x114) generated icon android drawable-xxhdpi-icon.png (144x144) generated generating icon android drawable-xhdpi-icon.png (96x96)... icon android drawable-xhdpi-icon.png (96x96) generated icon android drawable-hdpi-icon.png (72x72) generated generating icon android drawable-mdpi-icon.png (48x48)... icon android drawable-xxxhdpi-icon.png (192x192) generated generating icon android drawable-ldpi-icon.png (36x36)... icon android drawable-ldpi-icon.png (36x36) generated icon android drawable-mdpi-icon.png (48x48) generated

to further troubleshoot, I tried generating these resources in a vanilla Ionic app. Same result. Fired up my Vagrant Ionic-box and tried generating the resources and using Package build android. Same result.


#5

Based on some reading form http://blog.ionic.io/automating-icons-and-splash-screens/

I simply cropped the psd source file to 2208X2208 and all was well