Pushwoosh / pushwoosh-phonegap-cordova-sample

MIT License
16 stars 29 forks source link

ionic cordova build ios error #5

Closed jQrgen closed 5 years ago

jQrgen commented 6 years ago
lolmac:Ionic jqrgen$ ionic cordova platform add ios
> ionic integrations enable cordova
✔ Downloading integration cordova - done!

? The config.xml file exists in project. Overwrite? No

? The resources/ directory exists in project. Overwrite? No
✔ Copying integrations files to project - done!
[OK] Added cordova integration!
> cordova platform add ios --save
Using cordova-fetch for cordova-ios@~4.5.1

Adding ios project...

Creating Cordova project for the iOS platform:
    Path: platforms/ios
    Package: com.pushwoosh.demoapp
    Name: pushwoosh-ionic-sample
iOS project created with cordova-ios@4.5.4

Running command: /Users/jqrgen/pushwoosh-phonegap-cordova-sample/Ionic/hooks/after_prepare/010_add_platform_class.js /Users/jqrgen/pushwoosh-phonegap-cordova-sample/Ionic

add to body class: platform-ios
--save flag or autosave detected

Saving ios@~4.5.4 into config.xml file ...

> ionic cordova resources ios --force
✔ Collecting resource configuration and source images - done!
✔ Filtering out image resources that do not need regeneration - done!
✔ Uploading source images to prepare for transformations - done!
✖ Generating platform resources: 2 / 32 complete - failed!
Error: encountered bad status code (400) for https://res.ionic.io/api/v1/transform
body: {"Error":"source image 2208x2208 too small for Default-Landscape@~ipadpro.png, requires at least 2732x2048 source file"}
    at Response.res.on (/Users/jqrgen/.nvm/versions/node/v8.9.3/lib/node_modules/ionic/node_modules/@ionic/cli-utils/lib/cordova/resources.js:150:32)