Case insensitive check flavor names against Xcode schemes#61140
Merged
jmagman merged 1 commit intoflutter:masterfrom Jul 9, 2020
Merged
Case insensitive check flavor names against Xcode schemes#61140jmagman merged 1 commit intoflutter:masterfrom
jmagman merged 1 commit intoflutter:masterfrom
Conversation
jmagman
commented
Jul 9, 2020
Member
Author
There was a problem hiding this comment.
Xcode 12 didn't like this and removed it.
jmagman
commented
Jul 9, 2020
| } | ||
| } | ||
|
|
||
| Future<void> makeHostAppEditable() async { |
jmagman
commented
Jul 9, 2020
| ) || globals.cache.isOlderThanToolsStamp(ephemeralDirectory); | ||
| } | ||
|
|
||
| Future<void> makeHostAppEditable() async { |
jmagman
commented
Jul 9, 2020
| }); | ||
| }); | ||
|
|
||
| group('editable Android host app', () { |
jmagman
commented
Jul 9, 2020
Comment on lines
+109
to
+118
| if (ios.existsSync()) | ||
| await ios.productBundleIdentifier(null), | ||
| if (android.existsSync()) ...<String>[ | ||
| android.applicationId, | ||
| android.group, | ||
| ], | ||
| if (example.android.existsSync()) | ||
| example.android.applicationId, | ||
| if (example.ios.existsSync()) | ||
| await example.ios.productBundleIdentifier(null), |
Member
Author
There was a problem hiding this comment.
This wasted time shelling out to tooling in nonexistent directories when creating a new project.
| expect(await project.ios.productBundleIdentifier(null), 'io.flutter.someProject.suffix'); | ||
| }); | ||
|
|
||
| testWithMocks('fails with no flavor and defined schemes', () async { |
Contributor
There was a problem hiding this comment.
TIL about testWithMocks
Contributor
There was a problem hiding this comment.
Will add this to my deprecate/remove list :)
| ); | ||
|
|
||
| expect( | ||
| () => defaultInfo.reportFlavorNotFoundAndExit(), |
Contributor
There was a problem hiding this comment.
technically, you could pass in defaultInfo.reportFlavorNotFoundAndExit as a tear-off, since the throws matchers just require a zero-arity function. Just an FYI
Member
Author
There was a problem hiding this comment.
Audited, got a PR coming your way.
This was referenced Jul 9, 2020
pcsosinski
pushed a commit
to pcsosinski/flutter
that referenced
this pull request
Aug 12, 2020
pcsosinski
pushed a commit
that referenced
this pull request
Aug 13, 2020
* Fix SliverList scrollOffsetCorrection 0 case (#62615) * Case insensitive check flavor names against Xcode schemes (#61140) * Address misc time picker design issues (#62803) * Update to the latest localizations (#63026) * Removed the inputFormatters from the text input fields used by the Date Pickers (#63461) * Fix App.framework path in Podfile (#63412) * Update engine hash to 1.20.2 Co-authored-by: Kate Lovett <[email protected]> Co-authored-by: Jenn Magder <[email protected]> Co-authored-by: Rami <[email protected]> Co-authored-by: Shi-Hao Hong <[email protected]> Co-authored-by: Darren Austin <[email protected]>
mingwandroid
pushed a commit
to mingwandroid/flutter
that referenced
this pull request
Sep 6, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Check
--flavorparameter against Xcode schemes case insensitively. Exit earlier if the scheme names don't match.Remove dead "make editable" code while we're here.
Related Issues
Fixes #59029.
Tests
Checklist
///).flutter analyze --flutter-repo) does not report any problems on my PR.Breaking Change