Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to install since latest merge #33

Open
duffdean opened this issue Aug 14, 2020 · 3 comments
Open

Failed to install since latest merge #33

duffdean opened this issue Aug 14, 2020 · 3 comments

Comments

@duffdean
Copy link

duffdean commented Aug 14, 2020

Hi i am hoping someone can help. First of all thanks for updating the plugin with the removal of the legacy Spotify SDK as this is the best plugin out there.

So it seems as though since the latest merge to resolve the legacy SDK issue i am no longer able to install the plugin. I have even tried on a brand new empty cordova project and i get the same error message.

I am currently running:
Cordova 8.1.2 ([email protected])
iOS 5.1.1

The issue i am receiving seems to reference install-ios.sh which i thought was removed? Here is the output of the terminal whenever i call 'cordova plugins add cordova-spotify-oauth'

Dean-Air:cordovatestproject duffdean$ cordova plugins add cordova-spotify-oauth
Installing "cordova-spotify-oauth" for ios
Dependent plugin "es6-promise-plugin" already installed on ios.
Plugin dependency "[email protected]" already fetched, using that version.
Dependent plugin "cordova-plugin-add-swift-support" already installed on ios.
Running command: /Users/duffdean/cordovatestproject/plugins/cordova-spotify-oauth/install-ios.sh /Users/duffdean/cordovatestproject
tar: Error opening archive: Unrecognized archive format
Failed to install 'cordova-spotify-oauth': Error: Hook failed with error code 1: /Users/duffdean/cordovatestproject/plugins/cordova-spotify-oauth/install-ios.sh
at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:239:23
at _rejected (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:864:24)
at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:890:30
at Promise.when (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:1142:31)
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:808:41)
at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:624:44
at runSingle (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:137:13)
at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:125:13)
at processTicksAndRejections (internal/process/task_queues.js:79:11)
Hook failed with error code 1: /Users/duffdean/cordovatestproject/plugins/cordova-spotify-oauth/install-ios.sh

Any help would be greatly appreciated!

Thanks

@manuelsc
Copy link
Contributor

manuelsc commented Sep 1, 2020

As far as I know they haven't published a new version with the fix yet, so you are still running on the old version. You can install the new version directly from source though:

npm install github:Festify/cordova-spotify-oauth

@21jordanmorris
Copy link

@duffdean did you ever resolve this issue?

@duffdean
Copy link
Author

duffdean commented Aug 5, 2021

@21jordanmorris Was unable to resolve this, was also unable to install via npm, as I use Cordova plugin manger to install plugins. So whenever I try to install via cordova plugins install cordova-spotify-oauth it always downloads the version with the fault.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants