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

Installation of cordova-plugin-googleplus fails due to new Cocoapods Spec Url #269

Closed
hoi4 opened this issue Jan 10, 2020 · 2 comments
Closed
Labels
ios relates to iOS platform support Support is being requested but not a necessarily a bug

Comments

@hoi4
Copy link

hoi4 commented Jan 10, 2020

When using this plugin with the latest version of cordova-plugin-googleplus, the installation of googleplus fails with lots of warnings of the following kind:

[!] Found multiple specifications for `GoogleUtilities (6.1.0)`:
- /Users/xyz/.cocoapods/repos/cocoapods-/Specs/0/8/4/GoogleUtilities/6.1.0/GoogleUtilities.podspec.json
- /Users/xyz/.cocoapods/repos/master/Specs/0/8/4/GoogleUtilities/6.1.0/GoogleUtilities.podspec.json

My Podfile:

source 'https://cdn.cocoapods.org/'
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '11.0'
use_frameworks!
target 'MyApp' do
	project 'MyApp.xcodeproj'
	pod 'Firebase/Core', '6.11.0'
	pod 'Firebase/Auth', '6.11.0'
	pod 'Firebase/Messaging', '6.11.0'
	pod 'Firebase/Performance', '6.11.0'
	pod 'Firebase/RemoteConfig', '6.11.0'
	pod 'Fabric', '1.10.2'
	pod 'Crashlytics', '3.14.0'
	pod 'GoogleSignIn', '~> 4.4.0'
	pod 'GoogleUtilities', '~> 6.3.0'
end

cordova-plugin-googleplus uses the old Cocoapods Spec Url which leads to the two sources in the Podfile.

When reverting the url change in #173, both plugins successfully install.

Environment information

  • Cordova CLI version
    • 9.0.0 (cordova-lib@9.0.1)
  • Cordova platform version
    • Installed platforms: android 8.1.0 ios 5.1.1
  • Node version: v10.18.0
  • Cocoapods Version: 1.7.5
@hoi4 hoi4 changed the title Installation of other plugins fails due to new Cocoapods Spec Url Installation of cordova-plugin-googleplus fails due to new Cocoapods Spec Url Jan 10, 2020
@dpa99c dpa99c added ios relates to iOS platform support Support is being requested but not a necessarily a bug labels Jan 10, 2020
@dpa99c
Copy link
Owner

dpa99c commented Jan 10, 2020

This is because cordova-plugin-googleplus still uses the old URL hence it will need updating also to use the new URL as specified in #173.

I suggest opening an issue/PR against cordova-plugin-googleplus or forking it and updating it yourself.

Closing as this plugin is not the cause of the issue.

@dpa99c dpa99c closed this as completed Jan 10, 2020
@mohamedsharaf
Copy link

mohamedsharaf commented Jan 20, 2020

update google sign plugin.xml
pod section to this works

<!-- Google frameworks -->
    <podspec>
      <config>
        <source url="https://cdn.cocoapods.org/"/>
      </config>
      <pods use-frameworks="true">
        <pod name="GoogleSignIn" spec="~> 4.4.0"/>
        <pod name="GoogleUtilities" spec="~> 6.5.0"/>
      </pods>
    </podspec>

popisdead added a commit to popisdead/cordova-plugin-fcm-with-dependecy-updated that referenced this issue Oct 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ios relates to iOS platform support Support is being requested but not a necessarily a bug
Projects
None yet
Development

No branches or pull requests

3 participants