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!
Analyzing dependencies
Downloading dependencies
Installing AppAuth (1.4.0)
Installing BoringSSL-GRPC (0.0.7)
[!] Error installing BoringSSL-GRPC
[!] /usr/bin/git clone https://github.com/google/boringssl.git /var/folders/mr/cytqx4857vb9fbt4tf_8c5sm0000gn/T/d20210129-19234-1rphs7q --template=
Cloning into '/var/folders/mr/cytqx4857vb9fbt4tf_8c5sm0000gn/T/d20210129-19234-1rphs7q'...
fatal: the remote end hung up unexpectedly
```
# Uncomment the next line to define a global platform for your project
platform :ios, '14.0'
target 'mFood Vendor' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for mFood Vendor
pod 'FirebaseCore'
pod 'FirebaseAuth'
pod 'FirebaseStorage'
pod 'FirebaseUI'
pod 'FirebaseFirestore'
pod 'FirebaseFirestoreSwift'
end
```
Looks like this is a git issue with BoringSSL, likely caused by GitHub downtime. Are you able to clone the BoringSSL repo manually via git clone https://github.com/google/boringssl.git?
I am able to manually clone it. If I do that, how do I integrate it into CocoaPods as Cocoapods is attempting to download it? Excuse my naivet茅.
fatal: the remote end hung up unexpectedly
This error message indicates the backend you're trying to clone from (in this case GitHub) stopped your clone unexpectedly. There's nothing you can do about this error when it occurs, though you may be able to find a root cause for the error by copying the clone command CocoaPods is running and manually executing it with the verbose flag.
I got a timeout error, the solution was to do pod repo update, give it a try!
pod repo update did not work for me.
When I do a pod update, FirebaseUI gets updated to 10.0.1 and I get a build error
.../Pods/FirebaseUI/Auth/FirebaseAuthUI/FUIAuth.m:341:14: No visible @interface for 'FIRAuth' declares the selector 'useEmulatorWithHost:port:'
If I try to force using FirebaseUI 10.0.2, I get CocoaPods Error
[!] CocoaPods could not find compatible versions for pod "FirebaseCore":
In Podfile:
FirebaseCore
FirebaseFirestoreSwift was resolved to 0.4.0, which depends on
FirebaseFirestore (>= 1.6.1, ~> 1.6) was resolved to 1.15.0, which depends on
FirebaseCore (~> 6.2)
FirebaseUI (~> 10.0.2) was resolved to 10.0.2, which depends on
FirebaseUI/Auth (= 10.0.2) was resolved to 10.0.2, which depends on
Firebase/Auth (>= 7.2.0) was resolved to 7.2.0, which depends on
Firebase/CoreOnly (= 7.2.0) was resolved to 7.2.0, which depends on
FirebaseCore (= 7.2.0)
FirebaseUI (~> 10.0.2) was resolved to 10.0.2, which depends on
FirebaseUI/Auth (= 10.0.2) was resolved to 10.0.2, which depends on
Firebase/Auth (>= 7.2.0) was resolved to 7.2.0, which depends on
FirebaseAuth (~> 7.2.0) was resolved to 7.2.0, which depends on
FirebaseCore (~> 7.0)
@frios, you have incompatible dependencies. You'll need to remove either FirebaseUI or FirebaseFirestoreSwift, as FirebaseFirestoreSwift has not yet been updated to Firebase 7+.
Well that is unfortunate as I use both of those in my app. Any idea what the update timeline is for FirebaseFirestoreSwift?
Looks like it's already been updated, but was placed in beta when Firebase moved to a unified pod version. You'll need to explicitly specify the version of FirebaseFirestoreSwift, like so:
pod 'FirebaseFirestoreSwift', '= 7.5.0-beta'
That did the trick! Thanks so much for the help.
Most helpful comment
Looks like it's already been updated, but was placed in beta when Firebase moved to a unified pod version. You'll need to explicitly specify the version of FirebaseFirestoreSwift, like so: