firebase / FirebaseUI-iOS

iOS UI bindings for Firebase.
Apache License 2.0
1.51k stars 474 forks source link

Can't install the latest version #1208

Open LearnWithTung opened 3 days ago

LearnWithTung commented 3 days ago

Welcome to FirebaseUI and thanks for submitting an issue!

Please take a look at open issues, as well as resolved issues, to see if your issue is either already being addressed, or has been solved by someone else.

If your issue concerns the CocoaPods error, "...transitive dependencies that include static binaries", please take a look at any of the following issues and see if your problem is solved: #48, #47, #46, #34, #23.

If not, please feel free to fill in the following info so we can help faster!

Step 1: Are you in the right place?

Step 2: Describe your environment

Step 3: Describe the problem:

I have encountered an issue when log in with email using FirebaseUI, it throws an error says "This type of account isn't supported by this app". It seems related to this issue https://github.com/firebase/FirebaseUI-iOS/issues/1199 So I wanted to upgrade FirebaseUI to the latest version (14.2.4) but I couldn't. The console says

[!] CocoaPods could not find compatible versions for pod "FirebaseUI":
  In Podfile:
    FirebaseUI (= 14.2.4)

None of your spec sources contain a spec satisfying the dependency: `FirebaseUI (= 14.2.4)`.

You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

Bellow is related part from my podfile:

  pod 'FirebaseUI', '14.2.4'
  pod 'Firebase/Analytics'
  pod 'Firebase/Crashlytics'
  pod 'Firebase/RemoteConfig'
  pod 'Firebase/InAppMessaging'
  pod 'Firebase/Messaging'
paulb777 commented 3 days ago

Specify pod 'FirebaseUI', '~> 14.2' and run pod update. Not all of the FirebaseUI pods needed a patch for 14.2.4.