cordova-plugin-code-push icon indicating copy to clipboard operation
cordova-plugin-code-push copied to clipboard

iOS update not installing: ERROR: Plugin 'Zip' not found, or is not a CDVPlugin

Open tudordumitriu opened this issue 6 years ago • 3 comments

Hi there

Description

We have an issue on a Cordova IOS App (latest versions), it seems that after calling codePush.sync() the install process hangs on Installing Update (browser debugger attached logging) After a bit of investigation we found out that in XCode logs we can see the following: 2020-05-28 12:31:44.476387+0300 LC Tudor[9702:2814911] [CodePush] Installing update 2020-05-28 12:31:44.484285+0300 LC Tudor[9702:2814911] CDVPlugin class ZipPlugin (pluginName: Zip) does not exist. 2020-05-28 12:31:44.484368+0300 LC Tudor[9702:2814911] ERROR: Plugin 'Zip' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml. 2020-05-28 12:31:44.484414+0300 LC Tudor[9702:2814911] FAILED pluginJSON = ["Zip1806793458","Zip","unzip",["cdvfile://localhost/library-nosync/codepush/download/update.zip","cdvfile://localhost/library-nosync/codepush/download/unzipped/"]] 2020-05-28 12:32:15.517591+0300 LC Tudor[9702:2814961] [] tcp_input [C2.1:3] flags=[R.] seq=2848736290, ack=4096958323, win=243 state=CLOSED rcv_nxt=2848736266, snd_una=4096958322

Additional Information

cordova-plugin-code-push 1.12.3 "CodePush"

code-push 3.0.1 "CodePushAcquisition" cordova-plugin-app-launcher 0.4.0 "Launcher" cordova-plugin-camera 4.1.0 "Camera" cordova-plugin-device 2.0.3 "Device" cordova-plugin-dialogs 2.0.2 "Notification" cordova-plugin-file 6.0.2 "File" cordova-plugin-file-opener2 3.0.1 "File Opener2" cordova-plugin-file-transfer 1.7.1 "File Transfer" cordova-plugin-geolocation 4.0.2 "Geolocation" cordova-plugin-keyboard 1.2.0 "Keyboard" cordova-plugin-media 5.0.3 "Media" cordova-plugin-network-information 2.0.2 "Network Information" cordova-plugin-screen-orientation 3.0.2 "Screen Orientation" cordova-plugin-splashscreen 5.0.3 "Splashscreen" cordova-plugin-statusbar 2.4.3 "StatusBar" cordova-plugin-whitelist 1.3.4 "Whitelist" cordova-plugin-wkwebview-engine 1.2.1 "Cordova WKWebView Engine" cordova-plugin-wkwebview-file-xhr 2.1.4 "Cordova WKWebView File XHR Plugin" cordova-plugin-x-toast 2.7.2 "Toast" cordova-plugin-zip 3.1.0 "cordova-plugin-zip" cordova-sqlite-storage 5.0.0 "Cordova sqlite storage plugin - cordova-sqlite-storage plugin version"

  • Cordova version: Cordova 9.0.0
  • iOS/Android/Windows version: iOS Cordova 5.1.1 / iOS 13.4
  • Does this reproduce on a debug build or release build? We only tried on debug
  • Does this reproduce on a simulator, or only on a physical device? iPhone 11 PRO

Quick help much appreciated because we had to upgrade to the latest cordova CLI because our builds were not accepted anymore (the famous UIWebView issues) and we are still hanged because of this. Thanks

tudordumitriu avatar May 28 '20 09:05 tudordumitriu

Problem was caused by a space in the name of the project

tudordumitriu avatar May 29 '20 06:05 tudordumitriu

which project name

onaty avatar Jun 02 '20 18:06 onaty

@tudordumitriu which project name are you referring to?

juanlurie avatar Jun 20 '20 06:06 juanlurie