Reply To: Cordova build ios error

#16343

admin
Member
Please try to remove the cordova-plugin-console by running this command : cordova plugin rm cordova-plugin-console   Also please share whole error in a txt file to check this further .    

IONIC INFO :

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  : ios 4.5.4

Ionic Framework    : ionic-angular 3.9.2

System:

ios-deploy : 1.9.2

Node       : v6.11.4

npm        : 3.10.10

OS         : macOS High Sierra

Xcode      : Xcode 9.0 Build version 9A235

Environment Variables:

ANDROID_HOME : not set

Misc:

backend : pro

Cordova plugins and their versions :

cordova-plugin-camera 4.0.2 “Camera”

cordova-plugin-console 1.1.0 “Console”

cordova-plugin-device 2.0.1 “Device”

cordova-plugin-facebook4 2.0.1 “Facebook Connect”

cordova-plugin-file 6.0.1 “File”

cordova-plugin-file-transfer 1.7.1 “File Transfer”

cordova-plugin-googleplus 5.3.0 “Google SignIn”

cordova-plugin-inappbrowser 2.0.2 “InAppBrowser”

cordova-plugin-inapppurchase 1.1.0 “In App Purchase”

cordova-plugin-ionic-keyboard 2.0.5 “cordova-plugin-ionic-keyboard”

cordova-plugin-ionic-webview 1.1.16 “cordova-plugin-ionic-webview”

cordova-plugin-splashscreen 5.0.2 “Splashscreen”

cordova-plugin-statusbar 2.4.2 “StatusBar”

cordova-plugin-whitelist 1.3.3 “Whitelist”

cordova-sqlite-storage 2.0.4 “Cordova sqlite storage plugin”

ionic-plugin-keyboard 2.2.1 “Keyboard”.

config.xml file and package.json files : https://bit.ly/2ABXQ34

You can take backup of your ionic setup rename the package.json file and node_modules folder .

then you have to add the given config.json file to your project and open terminal and run :

npm install

After that please check for the corodova plugins .

Install the cordova plugins with their versions mentioned above .

example :

cordova plugin add {cordova plugin name}@{version} 

Copyright VibeThemes.