On iOS - Error loading deploy information


#1

I am getting this error in the XCode console after the application was loaded. ERROR: Error loading deploy information. TypeError: undefined is not an object (evaluating ‘plugin.deploy’).
After the error the application stops working.
Does anyone have an idea how to solve this?

Thanks in advance,

Roi

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.19.1
ionic (Ionic CLI) : 3.19.1

global packages:

cordova (Cordova CLI) : 8.0.0 

local packages:

@ionic/app-scripts : 3.1.8
Cordova Platforms  : browser 5.0.3 ios 4.5.4
Ionic Framework    : ionic-angular 3.9.2

System:

Node  : v8.10.0
npm   : 5.6.0 
OS    : macOS Sierra
Xcode : Xcode 9.2 Build version 9C40b 

Environment Variables:

ANDROID_HOME : not set

Misc:

backend : pro

#2

Have the same problem since upgrading everything to use typeorm, now on the same package versions as you. Unfortunately I dont remember the old working versions.


#3

This is actually happening in the browser and in Android as well.
It is seems it started after the integration with Ionic Pro.


#4

I removed ios and android, then readded them and ran ionic cordova prepare a few times, along with other stuff. Sometimes it seems to work, and then it randomly breaks again.


#5

Switched to using

ionic cordova run ios --device -lc --debug

instead


#6

Removing ionic pro did not help. It got rid of the error message but the application still stops working right after starting.


#7

nevermind, waited for the deviceready event at the wrong location, working fine now


#8

I think we are talking about two different things.
This error in the log appears when adding the line

Pro.init(‘YOUR_APP_ID’, {
appVersion: ‘APP_VERSION’
})

In app.module.ts - as explained in the tutorial:

It don’t think it has anything to do with device ready…