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

Recent update to FirebaseUI 8.4 causes conflicts with Geofire 3.0 pod #803

Open
SAPIENTechnologies opened this issue Nov 15, 2019 · 2 comments
Assignees

Comments

@SAPIENTechnologies
Copy link

Recent update to FirebaseUI 8.4 causes conflicts with Geofire 3.0 pod.

I have installed FirebaseUI 8.4 but when I run pod install or update I get:

[!] CocoaPods could not find compatible versions for pod "Firebase/Database":
In Podfile:
Firebase/Database

FirebaseUI (~> 8.0) was resolved to 8.0.1, which depends on
  FirebaseUI/Database (= 8.0.1) was resolved to 8.0.1, which depends on
    Firebase/Database (~> 6.0)

GeoFire (~> 3.0) was resolved to 3.0.0, which depends on
  Firebase/Database (~> 5.0)

Step 2: Describe your environment

  • Objective C or Swift: Swift
  • iOS version: 13.2.2
  • Firebase SDK version: _____
  • FirebaseUI version: 8.4
  • CocoaPods Version: 1.8.3

Step 3: Describe the problem:

Steps to reproduce:

Clearing out pod cache and current pods to make sure everything is up to date.

rm -rf "${HOME}/Library/Caches/CocoaPods"
rm -rf "pwd/Pods/"
pod update

Observed Results:

Error installing pod

Expected Results:

Clean installation of latest pod files

Relevant Code:

This is my pod file

Uncomment the next line to define a global platform for your project

platform :ios, '11.0'

target 'mFood Vendor' do

Comment the next line if you're not using Swift and don't want to use dynamic frameworks

use_frameworks!

Pods for mFood Vendor

pod 'Firebase/Analytics'
pod 'Firebase/Core'
pod 'Firebase/RemoteConfig'
pod 'Firebase/Database'
pod 'Firebase/Messaging'
pod 'FirebaseUI', '~> 8.0'

pod 'FBSDKCoreKit'
pod 'FBSDKLoginKit'
pod 'FBSDKShareKit'

pod 'GeoFire', '~> 3.0'
pod 'FontAwesome.swift'
pod 'Toast-Swift'
pod 'KeychainAccess'
pod 'SwiftValidator', :git => 'https://github.com/jpotts18/SwiftValidator.git', :branch => 'master'
pod 'ReachabilitySwift'
pod 'Crashlytics'

target 'mFood VendorTests' do
inherit! :search_paths
# Pods for testing
end

end

@morganchen12
Copy link
Contributor

You can probably work around this by using subspecs of FirebaseUI to exclude FirebaseUI/Database.

I'll look at updating the GeoFire podspec.

@SAPIENTechnologies
Copy link
Author

SAPIENTechnologies commented Nov 15, 2019 via email

@morganchen12 morganchen12 self-assigned this Nov 15, 2019
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

2 participants