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 plugin for iOS platform #255

Open
srinich-dev opened this issue Nov 12, 2023 · 2 comments
Open

Failed to plugin for iOS platform #255

srinich-dev opened this issue Nov 12, 2023 · 2 comments

Comments

@srinich-dev
Copy link

Bug Report

cordova plugin add @havesource/cordova-plugin-push

above command failed with below error for iOS platform

Cannot find plugin.xml for plugin "cordova-plugin-push". Please try adding it again.

Expected Behaviour

Should be able to add plugin

Actual Behaviour

Not able to add plugin

Reproduce Scenario (including but not limited to)

Try adding plugin is failing

Steps to Reproduce

cordova plugin add @havesource/cordova-plugin-push

Platform and Version (eg. Android 5.0 or iOS 9.2.1)

cordova platform version ios

Installed platforms:
ios 7.0.1

(Android) Device Vendor (e.g. Samsung, HTC, Sony...)

cordova info Printout

Node version: v18.15.0

Cordova version: 8.1.1

Config.xml file:

xxxx xxxxx/description> xxxxx/author> #FFFFFF

Plugins:

@havesource,cordova-plugin-add-swift-support,cordova-plugin-androidx-adapter,cordova-plugin-app-version,cordova-plugin-console,cordova-plugin-device,cordova-plugin-dialogs,cordova-plugin-file,cordova-plugin-file-opener2,cordova-plugin-inappbrowser,cordova-plugin-media-capture,cordova-plugin-network-information,cordova-plugin-ns0m-file-transfer,cordova-plugin-safariviewcontroller,cordova-plugin-statusbar

iOS platform:

Xcode 13.4.1
Build version 13F100

Sample Push Data Payload

Sample Code that illustrates the problem

Logs taken while reproducing problem

Cannot find plugin.xml for plugin "cordova-plugin-push". Please try adding it again.

@ondrakoupil
Copy link

I ran into this issue as well. The problem was in cordova-cli version - the plugin needs at least version 10. You have 8.11.

@geoidesic
Copy link

Nope. Same problem on
12.0.0 (cordova-lib@12.0.1)

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