shi11 / RemoteControls

cordova 3 plugin for interacting with ios7 remote controls and metadata
57 stars 41 forks source link

IOS build error w/keosuofficial/cordova-audio-stream-plugin.git #25

Closed wkande closed 8 years ago

wkande commented 8 years ago

Today I cloned the audio-streaming-app again to do beta builds. I followed the instruction step by step on the README.md.

As I got to the step to install https://github.com/keosuofficial/cordova-audio-stream-plugin.git there was an error show below in red. The app is working on Android but not IOS. I believe I changed the MainViewController.m correctly and have attached the file. The error actually seems to complain about an existing android file.

Anyway the best way to reproduce is most likely to do a fresh clone of the repo and follow the README.md instructions.

Failed to install 'com.keosu.cordova.stream':CordovaError: Uh oh!

/Users/warren/Development/audio-streaming-app/platforms/android/src/org/apache/cordova/media/AudioHandler.java" already exists!

at copyNewFile (/Users/warren/Development/audio-streaming-app/platforms/android/cordova/lib/pluginHandlers.js:212:15)

at handlers.source-file.install (/Users/warren/Development/audio-streaming-app/platforms/android/cordova/lib/pluginHandlers.js:34:13)

at Object.ActionStack.process (/Users/warren/Development/audio-streaming-app/platforms/android/cordova/node_modules/cordova-common/src/ActionStack.js:56:25)

at Api.addPlugin (/Users/warren/Development/audio-streaming-app/platforms/android/cordova/Api.js:205:20)

at handleInstall (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:603:6)

at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:382:28

at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54)

at self.promiseDispatch.done (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:30)

at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:749:13)

at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:509:49

Error: Uh oh!

\ /Users/warren/Development/audio-streaming-app/platforms/android/src/org/apache/cordova/media/AudioHandler.java" already exists!**

MainViewController.m.zip