这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@hellohuanlin
Copy link
Contributor

@hellohuanlin hellohuanlin commented Aug 29, 2025

What it does

This adds -plugin-path flag to swiftc cmd to fix a compile error related to missing swift plugin. The plugin is under mac_host_toolchain_path, which is only available on macs. However, we only build mac host engine on macs, so we are good.

About unit test

This swiftc.py file currently has no test coverage, but it should - I filed #174843. However, given there's a big fire (#174513) going on, and we are approaching iOS 26 release, I have to prioritize that one.

I will manually verify the solution.

List which issues are fixed by this PR. You must list at least one issue. An issue is not required if the PR fixes something trivial like a typo.

Fixes #172155

If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed.

@github-actions github-actions bot added the engine flutter/engine related. See also e: labels. label Aug 29, 2025
@hellohuanlin
Copy link
Contributor Author

Update: Verified it worked on macOS 15.6 + Xcode 26. I am also trying to setup local engine dev env on my test mac (macOS 26)

@hellohuanlin
Copy link
Contributor Author

Update: Verified it worked on macOS 15.6 + Xcode 26. I am also trying to setup local engine dev env on my test mac (macOS 26)

Worked on macOS 26 too: #172155 (comment)

@hellohuanlin hellohuanlin marked this pull request as ready for review September 4, 2025 17:35
@vashworth
Copy link
Contributor

@hellohuanlin Did you try Chris's solution explained here: #172155 (comment)

@hellohuanlin
Copy link
Contributor Author

@hellohuanlin Did you try Chris's solution explained here: #172155 (comment)

Yep, that was my first attempt and it didn't work - this is missing a -plugin-path, not a -F

Copy link
Contributor

@vashworth vashworth left a comment

Choose a reason for hiding this comment

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

LGTM

@hellohuanlin hellohuanlin added the autosubmit Merge PR when tree becomes green via auto submit App label Sep 5, 2025
@auto-submit auto-submit bot added this pull request to the merge queue Sep 5, 2025
Merged via the queue into flutter:master with commit edbc5ca Sep 5, 2025
182 checks passed
@flutter-dashboard flutter-dashboard bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Sep 5, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 6, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 6, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 7, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 7, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 7, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 8, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 8, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 8, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Sep 8, 2025
auto-submit bot pushed a commit to flutter/packages that referenced this pull request Sep 8, 2025
flutter/flutter@87d5b75...973320c

2025-09-08 engine-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from V_KooYFGRmGm6JrqM... to m7Qmvj5wtfPlMA8i8... (flutter/flutter#175067)
2025-09-08 engine-flutter-autoroll@skia.org Roll Packages from cab2ac2 to 24588c6 (1 revision) (flutter/flutter#175070)
2025-09-08 engine-flutter-autoroll@skia.org Roll Skia from e1a200e25998 to 0c2b0a00b7b5 (1 revision) (flutter/flutter#175065)
2025-09-08 engine-flutter-autoroll@skia.org Roll Dart SDK from c7518d480c73 to 83c6b6124380 (1 revision) (flutter/flutter#175064)
2025-09-08 engine-flutter-autoroll@skia.org Roll Skia from 87ee27220133 to e1a200e25998 (4 revisions) (flutter/flutter#175061)
2025-09-08 bkonyi@google.com [ Widget Preview ] Improve `--machine` output (flutter/flutter#175003)
2025-09-08 bruno.leroux@gmail.com Fix DropdownMenuFormField does not clear text field content on reset … (flutter/flutter#174937)
2025-09-08 engine-flutter-autoroll@skia.org Roll Skia from 310062ae6aee to 87ee27220133 (1 revision) (flutter/flutter#175051)
2025-09-08 engine-flutter-autoroll@skia.org Roll Dart SDK from 34cd2b4b56dd to c7518d480c73 (1 revision) (flutter/flutter#175049)
2025-09-07 engine-flutter-autoroll@skia.org Roll Skia from b00ca433657b to 310062ae6aee (1 revision) (flutter/flutter#175046)
2025-09-07 engine-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from LRAtLJWUiZNmSVShG... to V_KooYFGRmGm6JrqM... (flutter/flutter#175040)
2025-09-07 engine-flutter-autoroll@skia.org Roll Skia from 064cf12ad0cc to b00ca433657b (1 revision) (flutter/flutter#175028)
2025-09-06 engine-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from xG_uERsxHvUwFHpF2... to LRAtLJWUiZNmSVShG... (flutter/flutter#175018)
2025-09-06 engine-flutter-autoroll@skia.org Roll Dart SDK from f138e58bcf6d to 34cd2b4b56dd (2 revisions) (flutter/flutter#175017)
2025-09-06 engine-flutter-autoroll@skia.org Roll Skia from 5c60f8a66270 to 064cf12ad0cc (2 revisions) (flutter/flutter#175015)
2025-09-05 engine-flutter-autoroll@skia.org Roll Skia from f29ea2795934 to 5c60f8a66270 (2 revisions) (flutter/flutter#175010)
2025-09-05 108678139+manu-sncf@users.noreply.github.com Fix SliverMainAxisGroup scrollOffsetCorrection (flutter/flutter#174369)
2025-09-05 engine-flutter-autoroll@skia.org Roll Skia from 759f406584da to f29ea2795934 (3 revisions) (flutter/flutter#175000)
2025-09-05 engine-flutter-autoroll@skia.org Roll Dart SDK from 5e3afb74ffdf to f138e58bcf6d (15 revisions) (flutter/flutter#174994)
2025-09-05 engine-flutter-autoroll@skia.org Roll Packages from 98580c6 to cab2ac2 (2 revisions) (flutter/flutter#174998)
2025-09-05 41930132+hellohuanlin@users.noreply.github.com [ios26]fix host engine compile error (flutter/flutter#174723)
2025-09-05 30870216+gaaclarke@users.noreply.github.com Added note about how to compile licenses_cpp (flutter/flutter#174947)
2025-09-05 engine-flutter-autoroll@skia.org Roll Skia from 845ec125e94c to 759f406584da (3 revisions) (flutter/flutter#174992)
2025-09-05 mdebbar@google.com [web] Minor simplification in flutter.js loader (flutter/flutter#174963)
2025-09-05 30870216+gaaclarke@users.noreply.github.com deletes the old license checker. (flutter/flutter#174719)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages
Please CC stuartmorgan@google.com,tarrinneal@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
mboetger pushed a commit to mboetger/flutter that referenced this pull request Sep 18, 2025
## What it does

This adds `-plugin-path` flag to `swiftc` cmd to fix a compile error
related to missing swift plugin. The plugin is under
`mac_host_toolchain_path`, which is only available on macs. However, we
only build mac host engine on macs, so we are good.

## About unit test

This swiftc.py file currently has no test coverage, but it should - I
filed flutter#174843. However, given
there's a big fire (flutter#174513)
going on, and we are approaching iOS 26 release, I have to prioritize
that one.

I will manually verify the solution. 

*List which issues are fixed by this PR. You must list at least one
issue. An issue is not required if the PR fixes something trivial like a
typo.*

Fixes flutter#172155


*If you had to change anything in the [flutter/tests] repo, include a
link to the migration guide as per the [breaking change policy].*

## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [ ] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [ ] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel
on [Discord].

**Note**: The Flutter team is currently trialing the use of [Gemini Code
Assist for
GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code).
Comments from the `gemini-code-assist` bot should not be taken as
authoritative feedback from the Flutter team. If you find its comments
useful you can update your code accordingly, but if you are unsure or
disagree with the feedback, please feel free to wait for a Flutter team
member's review for guidance on which automated comments should be
addressed.

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
[test-exempt]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes
[Discord]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[Data Driven Fixes]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md
Jaineel-Mamtora pushed a commit to Jaineel-Mamtora/flutter_forked that referenced this pull request Sep 24, 2025
## What it does

This adds `-plugin-path` flag to `swiftc` cmd to fix a compile error
related to missing swift plugin. The plugin is under
`mac_host_toolchain_path`, which is only available on macs. However, we
only build mac host engine on macs, so we are good.

## About unit test

This swiftc.py file currently has no test coverage, but it should - I
filed flutter#174843. However, given
there's a big fire (flutter#174513)
going on, and we are approaching iOS 26 release, I have to prioritize
that one.

I will manually verify the solution. 

*List which issues are fixed by this PR. You must list at least one
issue. An issue is not required if the PR fixes something trivial like a
typo.*

Fixes flutter#172155


*If you had to change anything in the [flutter/tests] repo, include a
link to the migration guide as per the [breaking change policy].*

## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide], including [Features
we expect every widget to implement].
- [x] I signed the [CLA].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [ ] I updated/added relevant documentation (doc comments with `///`).
- [ ] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [ ] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel
on [Discord].

**Note**: The Flutter team is currently trialing the use of [Gemini Code
Assist for
GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code).
Comments from the `gemini-code-assist` bot should not be taken as
authoritative feedback from the Flutter team. If you find its comments
useful you can update your code accordingly, but if you are unsure or
disagree with the feedback, please feel free to wait for a Flutter team
member's review for guidance on which automated comments should be
addressed.

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#overview
[Tree Hygiene]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
[test-exempt]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#tests
[Flutter Style Guide]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md
[Features we expect every widget to implement]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Style-guide-for-Flutter-repo.md#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md#handling-breaking-changes
[Discord]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Chat.md
[Data Driven Fixes]:
https://github.com/flutter/flutter/blob/main/docs/contributing/Data-driven-Fixes.md
danferreira pushed a commit to danferreira/packages that referenced this pull request Oct 22, 2025
…r#9977)

flutter/flutter@87d5b75...973320c

2025-09-08 engine-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from V_KooYFGRmGm6JrqM... to m7Qmvj5wtfPlMA8i8... (flutter/flutter#175067)
2025-09-08 engine-flutter-autoroll@skia.org Roll Packages from cab2ac2 to 24588c6 (1 revision) (flutter/flutter#175070)
2025-09-08 engine-flutter-autoroll@skia.org Roll Skia from e1a200e25998 to 0c2b0a00b7b5 (1 revision) (flutter/flutter#175065)
2025-09-08 engine-flutter-autoroll@skia.org Roll Dart SDK from c7518d480c73 to 83c6b6124380 (1 revision) (flutter/flutter#175064)
2025-09-08 engine-flutter-autoroll@skia.org Roll Skia from 87ee27220133 to e1a200e25998 (4 revisions) (flutter/flutter#175061)
2025-09-08 bkonyi@google.com [ Widget Preview ] Improve `--machine` output (flutter/flutter#175003)
2025-09-08 bruno.leroux@gmail.com Fix DropdownMenuFormField does not clear text field content on reset … (flutter/flutter#174937)
2025-09-08 engine-flutter-autoroll@skia.org Roll Skia from 310062ae6aee to 87ee27220133 (1 revision) (flutter/flutter#175051)
2025-09-08 engine-flutter-autoroll@skia.org Roll Dart SDK from 34cd2b4b56dd to c7518d480c73 (1 revision) (flutter/flutter#175049)
2025-09-07 engine-flutter-autoroll@skia.org Roll Skia from b00ca433657b to 310062ae6aee (1 revision) (flutter/flutter#175046)
2025-09-07 engine-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from LRAtLJWUiZNmSVShG... to V_KooYFGRmGm6JrqM... (flutter/flutter#175040)
2025-09-07 engine-flutter-autoroll@skia.org Roll Skia from 064cf12ad0cc to b00ca433657b (1 revision) (flutter/flutter#175028)
2025-09-06 engine-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from xG_uERsxHvUwFHpF2... to LRAtLJWUiZNmSVShG... (flutter/flutter#175018)
2025-09-06 engine-flutter-autoroll@skia.org Roll Dart SDK from f138e58bcf6d to 34cd2b4b56dd (2 revisions) (flutter/flutter#175017)
2025-09-06 engine-flutter-autoroll@skia.org Roll Skia from 5c60f8a66270 to 064cf12ad0cc (2 revisions) (flutter/flutter#175015)
2025-09-05 engine-flutter-autoroll@skia.org Roll Skia from f29ea2795934 to 5c60f8a66270 (2 revisions) (flutter/flutter#175010)
2025-09-05 108678139+manu-sncf@users.noreply.github.com Fix SliverMainAxisGroup scrollOffsetCorrection (flutter/flutter#174369)
2025-09-05 engine-flutter-autoroll@skia.org Roll Skia from 759f406584da to f29ea2795934 (3 revisions) (flutter/flutter#175000)
2025-09-05 engine-flutter-autoroll@skia.org Roll Dart SDK from 5e3afb74ffdf to f138e58bcf6d (15 revisions) (flutter/flutter#174994)
2025-09-05 engine-flutter-autoroll@skia.org Roll Packages from 98580c6 to cab2ac2 (2 revisions) (flutter/flutter#174998)
2025-09-05 41930132+hellohuanlin@users.noreply.github.com [ios26]fix host engine compile error (flutter/flutter#174723)
2025-09-05 30870216+gaaclarke@users.noreply.github.com Added note about how to compile licenses_cpp (flutter/flutter#174947)
2025-09-05 engine-flutter-autoroll@skia.org Roll Skia from 845ec125e94c to 759f406584da (3 revisions) (flutter/flutter#174992)
2025-09-05 mdebbar@google.com [web] Minor simplification in flutter.js loader (flutter/flutter#174963)
2025-09-05 30870216+gaaclarke@users.noreply.github.com deletes the old license checker. (flutter/flutter#174719)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages
Please CC stuartmorgan@google.com,tarrinneal@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engine flutter/engine related. See also e: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Xcode 26 beta 3] Compiling the engine on macOS fails with plugin for module 'TestingMacros' not found

2 participants