Skip to content

installation failure: compatible version of Firebase/Messaging #363

@willynlabs

Description

@willynlabs

Bug Report

Installation fails (or ios platform add fails).

I have tried all manner of installation of version 7.0.0, but it fails with Firebase module/version issues every time.

I have removed all other Google plugins (e.g. cordova-plugin-googleplus), and even removed and installed cocoapods, and even updated my version of Ruby just to try all of the things I could think of.

I tried originally to reinstall this plugin after I updated to cordova 12.0 with ios version 7.1.1

I am running on osx 13.7.7 with xcode 15.2

I this in config.xml.

The "cleanest" install I get is with this message:

CocoaPods could not find compatible versions for pod "Firebase/Messaging":
In Podfile:
Firebase/Messaging (= 11.8.0)

Other steps (like the one with cordova-plugin-googleplus) results in several version conflicts.

I have even tried creating a new cordova project and just installing the plugin, but it still failed.

I even checked just before the installation, and there were no cocoapods installed by other cordova plugins.

I am not sure what else I can try at this point, but am open to suggestions.

I have been running my app with a version of this plugin for 3 to 4 years, but am stuck as I can no longer build the app with the plugin (and there are few alternatives).

cordova info:

Cordova Packages:

cli: 12.0.0
    common: 5.0.1
    create: 5.0.0
    lib: 12.0.2
        common: 5.0.1
        fetch: 4.0.0
        serve: 4.0.1

Project Installed Platforms:

ios: 7.1.1

Project Installed Plugins:

cordova-plugin-camera: 4.1.0
cordova-plugin-file: 6.0.2
cordova-plugin-ionic-keyboard: 2.2.0
cordova-plugin-ionic-webview: 5.0.0
cordova-plugin-statusbar: 2.4.3
cordova-plugin-whitelist: 1.3.4
@havesource/cordova-plugin-push: 7.0.0

Environment:

OS: Ventura 13.7.7 (22H722) (darwin 22.6.0) arm64
Node: v22.19.0
npm: 8.19.1

ios Environment:

xcodebuild:

ERROR: Command failed with exit code 1: xcodebuild -version
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance

Project Setting Files:

config.xml:
daOne A sample dynamic application that is runtime configurable for enterprise apps. Willyn Labs Development Team daOne needs camera access to take pictures daOne needs photo library access to get pictures from there daOne needs location access for pictures daOne needs photo library access to save pictures there
package.json:

--- Start of Cordova JSON Snippet ---
{
"plugins": {
"cordova-plugin-ionic-webview": {},
"cordova-plugin-whitelist": {},
"cordova-plugin-ionic-keyboard": {},
"cordova-plugin-statusbar": {},
"cordova-plugin-camera": {},
"cordova-plugin-file": {},
"@havesource/cordova-plugin-push": {}
},
"platforms": []
}
--- End of Cordova JSON Snippet ---

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions