Skip to content

Fix OTHER_CFLAGS in zip build. #3497

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

Merged
merged 2 commits into from
Aug 2, 2019
Merged

Fix OTHER_CFLAGS in zip build. #3497

merged 2 commits into from
Aug 2, 2019

Conversation

ryanwilson
Copy link
Member

No description provided.

@@ -418,7 +419,7 @@ struct FrameworkBuilder {

// Verify Firebase headers include an explicit umbrella header for Firebase.h.
let headersDir = podsDir.appendingPathComponents(["Headers", "Public", framework])
if framework.hasPrefix("Firebase") && framework != "FirebaseCoreDiagnostics" {
if framework.hasPrefix("Firebase"), framework != "FirebaseCoreDiagnostics" {
Copy link
Member Author

Choose a reason for hiding this comment

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

This was from running style.sh

Copy link
Member

Choose a reason for hiding this comment

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

That seems a lot less readable to me! A comma operator instead of &&?!

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, I'll have to look into why that's the preferred one there. I think some guard statements make sense with , but this is less readable I'd say.

@ryanwilson ryanwilson requested a review from paulb777 August 2, 2019 23:17
@@ -418,7 +419,7 @@ struct FrameworkBuilder {

// Verify Firebase headers include an explicit umbrella header for Firebase.h.
let headersDir = podsDir.appendingPathComponents(["Headers", "Public", framework])
if framework.hasPrefix("Firebase") && framework != "FirebaseCoreDiagnostics" {
if framework.hasPrefix("Firebase"), framework != "FirebaseCoreDiagnostics" {
Copy link
Member

Choose a reason for hiding this comment

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

That seems a lot less readable to me! A comma operator instead of &&?!

@@ -23,12 +23,12 @@ private enum Architecture: String, CaseIterable {
case device = "iphoneos"
case simulator = "iphonesimulator"

/// Arguments that should be included as part of the build process for each target platform.
func extraArguments() -> [String] {
Copy link
Member

Choose a reason for hiding this comment

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

Is there a reason for calling it "extra" instead of "other"?

Copy link
Member Author

Choose a reason for hiding this comment

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

Nope, no particular reason. I can change to other.

@ryanwilson ryanwilson merged commit 8087457 into master Aug 2, 2019
@ryanwilson ryanwilson deleted the rw-zip-cd-fix branch August 2, 2019 23:51
@firebase firebase locked and limited conversation to collaborators Oct 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants