Ionic Pro Deploy (Code Push) causes ios build failure


#1

Hi guys, this is an Ionic Pro question so I will raise this directly with them, but thought I’d post here too in case anyone knows or I’ll post the Ionic Pro support solution for anyone else who stumbles upon the error.

I have followed the guides on how to add Ionics Deploy feature to my ios app (here - https://ionicframework.com/docs/pro/deploy/setup/) and I’m sure I have done everything correct, because the first build succeeded and I have it working perfectly on a device and even just got approved by Apple. However whenever I try rebuild the application I get the error below:

cordova build ios
Preparing Firebase on iOS
Generating intial manifest for Ionic Deploy...
There was an error generating the intial manifest of files for the deploy plugin.
[ERROR] An error occurred while running cordova build ios (exit code 255).

I have tried removing and adding ios. Removing and adding the ionic plugin an even uninstalled all plugins and reverting all code back to that first build that succeeded without any luck.

Any idea what may be causing this?


#2

I managed to fix the issue by changing the cordova-plugin-ionic-webview in config.xml to 2.1.0


#3

this work for me ! But i had to install a random minor version of cordova-plugin-ionic ( i chose cordova-plugin-ionic@5.0.4) because the latest version at this time ( cordova-plugin-ionic@5.2.0 ) do not support a minor version than cordova-plugin-ionic-webview@2.1.4 .


#4

Same probleme here… And add cordova-plugin-ionic-webview in version 2.1.0 or 2.1.4 no working…