-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Conversation
@@ -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" { |
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.
This was from running style.sh
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.
That seems a lot less readable to me! A comma operator instead of &&
?!
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.
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.
@@ -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" { |
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.
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] { |
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.
Is there a reason for calling it "extra" instead of "other"?
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.
Nope, no particular reason. I can change to other.
No description provided.