-
Notifications
You must be signed in to change notification settings - Fork 27.2k
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
Download platform artifacts from assemble if needed #78272
Conversation
@@ -1374,31 +1374,10 @@ mixin DeviceBasedDevelopmentArtifacts on FlutterCommand { | |||
} | |||
} | |||
|
|||
/// A mixin which applies an implementation of [requiredArtifacts] that only | |||
/// downloads artifacts corresponding to a target device. | |||
mixin TargetPlatformBasedDevelopmentArtifacts on FlutterCommand { |
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.
Dead as of #70898
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.
nice
b589a1d
to
c79cd87
Compare
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!
Download missing target platform artifacts when run from
flutter assemble -dTargetPlatform
. This isn't needed fromflutter build
orflutter run
, but is if the user upgrades, then tries to run from Xcode or Gradle.From Xcode we can see it work:
Fixes #68475
I KNOW there was an iOS version of this issue but now I can't find it, but I've hit this problems with engine/dart mismatches myself.