Commit e35ecd9
<!-- start_original_pr_link -->
Reverts: #177512
<!-- end_original_pr_link -->
<!-- start_initiating_author -->
Initiated by: vashworth
<!-- end_initiating_author -->
<!-- start_revert_reason -->
Reason for reverting: May cause error:
```
Error (Xcode): Could not delete `/build/ios/Release-iphoneos`
because it was not created by the build system and it is not a subfolder of derived data.
```
<!-- end_revert_reason -->
<!-- start_original_pr_author -->
Original PR Author: vashworth
<!-- end_original_pr_author -->
<!-- start_reviewers -->
Reviewed By: {bkonyi}
<!-- end_reviewers -->
<!-- start_revert_body -->
This change reverts the following previous change:
Starting with Xcode 26, when a precompiled file changes (like a header
file in the Flutter framework), it throws an error. This PR adds a
fingerprinter to track changes to the headers. If the fingerprinting
detects a change, it cleans before building. This only applies to Xcode
26 and incremental builds. Fresh builds should not clean.
Fixes #176462.
## 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.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I added new tests to check the change I am making, or this PR is
[test-exempt].
- [x] I followed the [breaking change policy] and added [Data Driven
Fixes] where supported.
- [x] 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
<!-- end_revert_body -->
Co-authored-by: auto-submit[bot] <[email protected]>
1 parent b5d2ed6 commit e35ecd9
File tree
5 files changed
+11
-497
lines changed- packages/flutter_tools
- lib/src/ios
- test
- commands.shard/hermetic
- general.shard/ios
5 files changed
+11
-497
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | | - | |
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
| |||
272 | 270 | | |
273 | 271 | | |
274 | 272 | | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | 273 | | |
286 | 274 | | |
287 | 275 | | |
| |||
322 | 310 | | |
323 | 311 | | |
324 | 312 | | |
325 | | - | |
| 313 | + | |
326 | 314 | | |
327 | 315 | | |
328 | 316 | | |
| |||
334 | 322 | | |
335 | 323 | | |
336 | 324 | | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | 325 | | |
358 | 326 | | |
359 | 327 | | |
| |||
383 | 351 | | |
384 | 352 | | |
385 | 353 | | |
386 | | - | |
| 354 | + | |
387 | 355 | | |
388 | 356 | | |
389 | 357 | | |
| |||
405 | 373 | | |
406 | 374 | | |
407 | 375 | | |
408 | | - | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
409 | 381 | | |
410 | 382 | | |
411 | 383 | | |
412 | 384 | | |
413 | 385 | | |
| 386 | + | |
| 387 | + | |
414 | 388 | | |
415 | | - | |
| 389 | + | |
416 | 390 | | |
417 | 391 | | |
418 | 392 | | |
| |||
654 | 628 | | |
655 | 629 | | |
656 | 630 | | |
657 | | - | |
658 | | - | |
659 | | - | |
660 | | - | |
661 | | - | |
662 | | - | |
663 | | - | |
664 | | - | |
665 | | - | |
666 | | - | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | | - | |
680 | | - | |
681 | | - | |
682 | | - | |
683 | | - | |
684 | | - | |
685 | | - | |
686 | | - | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | | - | |
692 | | - | |
693 | | - | |
694 | | - | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | | - | |
703 | 631 | | |
704 | 632 | | |
705 | 633 | | |
| |||
Lines changed: 0 additions & 30 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
315 | 314 | | |
316 | 315 | | |
317 | 316 | | |
318 | | - | |
319 | 317 | | |
320 | 318 | | |
321 | 319 | | |
| |||
352 | 350 | | |
353 | 351 | | |
354 | 352 | | |
355 | | - | |
356 | 353 | | |
357 | 354 | | |
358 | 355 | | |
| |||
390 | 387 | | |
391 | 388 | | |
392 | 389 | | |
393 | | - | |
394 | 390 | | |
395 | 391 | | |
396 | 392 | | |
| |||
427 | 423 | | |
428 | 424 | | |
429 | 425 | | |
430 | | - | |
431 | 426 | | |
432 | 427 | | |
433 | 428 | | |
| |||
475 | 470 | | |
476 | 471 | | |
477 | 472 | | |
478 | | - | |
479 | 473 | | |
480 | 474 | | |
481 | 475 | | |
| |||
514 | 508 | | |
515 | 509 | | |
516 | 510 | | |
517 | | - | |
518 | 511 | | |
519 | 512 | | |
520 | 513 | | |
| |||
552 | 545 | | |
553 | 546 | | |
554 | 547 | | |
555 | | - | |
556 | 548 | | |
557 | 549 | | |
558 | 550 | | |
| |||
588 | 580 | | |
589 | 581 | | |
590 | 582 | | |
591 | | - | |
592 | 583 | | |
593 | 584 | | |
594 | 585 | | |
| |||
651 | 642 | | |
652 | 643 | | |
653 | 644 | | |
654 | | - | |
655 | 645 | | |
656 | 646 | | |
657 | 647 | | |
| |||
713 | 703 | | |
714 | 704 | | |
715 | 705 | | |
716 | | - | |
717 | 706 | | |
718 | 707 | | |
719 | 708 | | |
| |||
777 | 766 | | |
778 | 767 | | |
779 | 768 | | |
780 | | - | |
781 | 769 | | |
782 | 770 | | |
783 | 771 | | |
| |||
821 | 809 | | |
822 | 810 | | |
823 | 811 | | |
824 | | - | |
825 | 812 | | |
826 | 813 | | |
827 | 814 | | |
| |||
870 | 857 | | |
871 | 858 | | |
872 | 859 | | |
873 | | - | |
874 | 860 | | |
875 | 861 | | |
876 | 862 | | |
| |||
924 | 910 | | |
925 | 911 | | |
926 | 912 | | |
927 | | - | |
928 | 913 | | |
929 | 914 | | |
930 | 915 | | |
| |||
963 | 948 | | |
964 | 949 | | |
965 | 950 | | |
966 | | - | |
967 | 951 | | |
968 | 952 | | |
969 | 953 | | |
| |||
1020 | 1004 | | |
1021 | 1005 | | |
1022 | 1006 | | |
1023 | | - | |
1024 | 1007 | | |
1025 | 1008 | | |
1026 | 1009 | | |
| |||
1068 | 1051 | | |
1069 | 1052 | | |
1070 | 1053 | | |
1071 | | - | |
1072 | 1054 | | |
1073 | 1055 | | |
1074 | 1056 | | |
| |||
1110 | 1092 | | |
1111 | 1093 | | |
1112 | 1094 | | |
1113 | | - | |
1114 | 1095 | | |
1115 | 1096 | | |
1116 | 1097 | | |
| |||
1169 | 1150 | | |
1170 | 1151 | | |
1171 | 1152 | | |
1172 | | - | |
1173 | 1153 | | |
1174 | 1154 | | |
1175 | 1155 | | |
| |||
1214 | 1194 | | |
1215 | 1195 | | |
1216 | 1196 | | |
1217 | | - | |
1218 | 1197 | | |
1219 | 1198 | | |
1220 | 1199 | | |
| |||
1257 | 1236 | | |
1258 | 1237 | | |
1259 | 1238 | | |
1260 | | - | |
1261 | 1239 | | |
1262 | 1240 | | |
1263 | 1241 | | |
| |||
1301 | 1279 | | |
1302 | 1280 | | |
1303 | 1281 | | |
1304 | | - | |
1305 | 1282 | | |
1306 | 1283 | | |
1307 | 1284 | | |
| |||
1343 | 1320 | | |
1344 | 1321 | | |
1345 | 1322 | | |
1346 | | - | |
1347 | 1323 | | |
1348 | 1324 | | |
1349 | 1325 | | |
| |||
1387 | 1363 | | |
1388 | 1364 | | |
1389 | 1365 | | |
1390 | | - | |
1391 | 1366 | | |
1392 | 1367 | | |
1393 | 1368 | | |
| |||
1438 | 1413 | | |
1439 | 1414 | | |
1440 | 1415 | | |
1441 | | - | |
1442 | 1416 | | |
1443 | 1417 | | |
1444 | 1418 | | |
| |||
1485 | 1459 | | |
1486 | 1460 | | |
1487 | 1461 | | |
1488 | | - | |
1489 | 1462 | | |
1490 | 1463 | | |
1491 | 1464 | | |
| |||
1534 | 1507 | | |
1535 | 1508 | | |
1536 | 1509 | | |
1537 | | - | |
1538 | 1510 | | |
1539 | 1511 | | |
1540 | 1512 | | |
| |||
1592 | 1564 | | |
1593 | 1565 | | |
1594 | 1566 | | |
1595 | | - | |
1596 | 1567 | | |
1597 | 1568 | | |
1598 | 1569 | | |
| |||
1634 | 1605 | | |
1635 | 1606 | | |
1636 | 1607 | | |
1637 | | - | |
1638 | 1608 | | |
1639 | 1609 | | |
1640 | 1610 | | |
| |||
0 commit comments