-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Reduce Xcode noise #3 #14663
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
Reduce Xcode noise #3 #14663
Conversation
mravn-google
left a comment
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.
LGTM
|
|
||
| // Run -showBuildSettings again but with the exact same parameters as the build. | ||
| final Map<String, String> buildSettings = parseXcodeBuildSettings(runCheckedSync( | ||
| buildCommands..add('-showBuildSettings'), |
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.
I suggest we pass in a new list with the added flag rather than mutate buildCommands. It is used later for diagnostics and I believe it should reflect the actual command line that produced the buildResult above.
Just to avoid any surprises down the road.
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.
Oh ya, totally good point. Thanks.
| final String expectedOutputDirectory = fs.path.join( | ||
| buildSettings['TARGET_BUILD_DIR'], | ||
| buildSettings['WRAPPER_NAME'], | ||
| ); |
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.
Thank you.
* Revert "Revert "Reduce xcodebuild noise flutter#2" (flutter#14641)" This reverts commit 2d47481. * Stop scrapping xcodebuild output, get the right build settings * clone the command params first
Third time's a charm
Unreverts #14641
Fixes #13104
Reduces xcodebuild fluff.
Also stops scrapping xcodebuild output as a critical path to building successfully. Fixes #14657
Fixes an issue where the build settings used to diagnose xcode build failures may not be the same settings used to build. Fixes #14661