Skip to content

Conversation

paulb777
Copy link
Member

@paulb777 paulb777 commented Dec 6, 2017

Add a second umbrella header so that the Firebase module will include the Firestore umbrella header in source builds.

Changing Firebase.h to check for Firestore-umbrella.h would not work because umbrella headers only get generated by CocoaPods when use_frameworks! is specified and the name of the umbrella header may or may not be qualified by a target if the Podfile specifies multiple Apple targets.

More details internally at b/70281259

@paulb777 paulb777 requested a review from wilhuff December 6, 2017 23:31
Copy link
Contributor

@wilhuff wilhuff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I compared this against the generated umbrella header and it's correct as far as what it imports.

It's intentional that this file does not include a declaration of

FOUNDATION_EXPORT const unsigned char FirebaseFirestoreVersionString[];

right?

@paulb777
Copy link
Member Author

paulb777 commented Dec 6, 2017

It's intentional to exclude the version declaration since our internal build system doesn't generate those.

@paulb777 paulb777 merged commit 293c6e2 into master Dec 7, 2017
@paulb777 paulb777 deleted the pb-firebasefirestore branch December 7, 2017 14:20
minafarid pushed a commit to minafarid/firebase-ios-sdk that referenced this pull request Jun 6, 2018
@firebase firebase locked and limited conversation to collaborators Nov 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants