-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Restore Firestore build in xcframework branch #4995
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
Conversation
fatalError("Multi-layered subspecs are not supported - \(podName)") | ||
} else if subspecArray.count == 1 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this else
statement just for abseil before?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
abseil was falling into the error case before since it has a two-layered subspec. Now we still error out on two-layer subspecs except for abseil.
Restore Firestore build after #4940 broke it because of the abseil dependency.
With this change, a zip with xcframeworks for all the Podfile dependencies of the Firestore quickstart now build.
The quickstart fails to build because FirebaseUI does not have an umbrella header necessary for Swift module imports. The proper way to build static libs in CocoaPods with modular headers is the
use_modular_headers!
option but that does now work with Firestore because gRPC does not work with them. See grpc/grpc#20631 and CocoaPods/CocoaPods#9023.Next step is to investigate the feasibility of fixing CocoaPods/CocoaPods#9023. In the meantime sending the PR here to checkpoint.
Here is the json file for the Firestore quickstart: