I was able to build an iOS binary to deploy to the app store when I was on Ionic CLI: 2.1.15, but it wasn’t generating a 1024x1024 image needed by the app store. Mike on the slack channel suggested upgrading to the new CLI. I did that, then updated npm too and now I can’t build at all I’m using Ionic 1. Pretty desperate for help since our company is completely stuck on trying to get push notifications deployed for our app. We’re a paying user of Ionic. Details below:
ionic cordova platform add ios
[INFO] Enabling Cordova integration.
ionic config set integrations.cordova {} --json --force
[OK] integrations.cordova set to {} in ./ionic.config.json!
cordova platform add ios --save
Running command - failed!
[ERROR] Exception: Using cordova-fetch for cordova-ios@^4.4.0
Ionic Info:
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 1.13.1
ionic (Ionic CLI) : 3.13.1
global packages:
cordova (Cordova CLI) : 7.1.0
local packages:
Cordova Platforms : ios 4.5.2
Ionic Framework : unknown
System:
Android SDK Tools : 25.2.5
ios-deploy : 1.9.2
ios-sim : 6.1.2
Node : v6.4.0
npm : 5.5.1
OS : macOS High Sierra
Xcode : Xcode 9.0 Build version 9A235
Misc:
backend : pro