-
Notifications
You must be signed in to change notification settings - Fork 30.2k
Improve subsequent iOS build times by caching iOS build configurations and build settings, fingerprint Xcode project and related files #115872
Copy link
Copy link
Open
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: first hourThe first hour of using FlutterThe first hour of using Flutterplatform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
Cache discovered build configurations (for flavors), build settings, if you have a watch companion, architecture constraints of particular pods, etc by Fingerprintering all the files in Runner.xcodeproj/ and storing them somewhere in build/. This will improve flutter build ios/ run times.
Similar to how pod install is skipped:
flutter/packages/flutter_tools/lib/src/macos/cocoapod_utils.dart
Lines 24 to 26 in b9caef5
| // If the Xcode project, Podfile, or generated xcconfig have changed since | |
| // last run, pods should be updated. | |
| final Fingerprinter fingerprinter = Fingerprinter( |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: first hourThe first hour of using FlutterThe first hour of using Flutterplatform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform teamTriaged by iOS platform team