Description:
I updated to Ionic CLI v3.20.0 and was unable to upload a build to the App Store via XCode due to alpha channels in my icons.
I ran ionic cordova resources --force
and ionic cordova resources ios
and both return the following error after prompting me for my Ionic username and password:
Request: POST https://api.ionic.io/login
Response: 410
Body:
{}
Steps to Reproduce:
ionic cordova resources ios
.Output:
$ ionic cordova resources ios --verbose
[DEBUG] Reason for not using local CLI: LOCAL_CLI_NOT_FOUND
[DEBUG] CLI flags: { interactive: true, confirm: false }
[DEBUG] { cwd: '/Users/user/Downloads/my-app', local: false, binPath:
'/usr/local/lib/node_modules/ionic/bin/ionic', libPath:
'/usr/local/lib/node_modules/ionic/dist/index.js' }
[WARN] You need to be logged into your Ionic account in order to run ionic
cordova resources.
Log into your Ionic account
If you don't have one yet, create yours by running: ionic signup
? Email: [email protected]
? Password: [hidden]
Request: POST https://api.ionic.io/login
Response: 410
Body:
{}
My ionic info
:
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0
global packages:
cordova (Cordova CLI) : 7.0.1
local packages:
@ionic/app-scripts : 3.1.9
Cordova Platforms : android 7.1.0 ios 4.5.4
Ionic Framework : ionic-angular 3.9.2
System:
Android SDK Tools : 26.1.1
ios-deploy : 1.9.2
Node : v8.2.1
npm : 5.4.1
OS : macOS High Sierra
Xcode : Xcode 9.3.1 Build version 9E501
Environment Variables:
ANDROID_HOME : /USers/user/Library/Android/sdk
Misc:
backend : legacy
@zuperm4n Try ionic config set -g backend pro
and then ionic login
again. You are attempting to login to the old Ionic Cloud backend. This is a bit confusing, my apologies. I need to get CLI 4 out which removes that backend.
Most helpful comment
@zuperm4n Try
ionic config set -g backend pro
and thenionic login
again. You are attempting to login to the old Ionic Cloud backend. This is a bit confusing, my apologies. I need to get CLI 4 out which removes that backend.