bykof / cordova-plugin-webserver

A webserver plugin for cordova
Other
119 stars 51 forks source link

Failed to generate IOS build on phonegap #36

Open gabyawadcsp opened 5 years ago

gabyawadcsp commented 5 years ago

Error - Plugin error (you probably need to remove plugin files from your app): //github.com/bykof/cordova-plugin-webserver --nohooks=.": Fetching plugin "https://github.com/bykof/cordova-plugin-webserver" via git clone Using shallow clone Repository "https://github.com/bykof/cordova-plugin-webserver" checked out to git ref "master" at "64f3e3a". Installing "cordova-plugin-webserver" at "1.1.0" for ios Fetching plugin "cordova-plugin-add-swift-support@2.0.2" via npm Installing "cordova-plugin-add-swift-support" at "2.0.2" for ios Failed to install 'cordova-plugin-webserver': Error: pod: Command failed with exit code 1 at ChildProcess.whenDone (/private/tmp/gimlet/3428228/project/cordova/node_modules/cordova-common/src/superspawn.js:169:23) at ChildProcess.emit (events.js:182:13) at maybeClose (internal/child_process.js:962:16) at Socket.stream.socket.on (internal/child_process.js:381:11) at Socket.emit (events.js:182:13) at Pipe._handle.close (net.js:611:12)

boedy commented 4 years ago

cordova-plugin-add-swift-support@2.0.2 is quite new. Might need to update your local pod repository. Try running the following command in your platforms/ios dir:

pod install --repo-update