Opt into CocoaPods parallel codesigning (#76833)

This commit is contained in:
Jenn Magder
2021-02-26 13:16:03 -08:00
committed by GitHub
parent 2951363dc8
commit 2a54bb02aa
3 changed files with 9 additions and 1 deletions

View File

@@ -172,6 +172,10 @@ List<String> _xcodeBuildSettingsLines({
// This holds because requiresProjectRoot is true for this command
xcodeBuildSettings.add('FLUTTER_APPLICATION_PATH=${globals.fs.path.normalize(project.directory.path)}');
// Tell CocoaPods behavior to codesign in parallel with rest of scripts to speed it up.
// Value must be "true", not "YES". https://github.com/CocoaPods/CocoaPods/pull/6088
xcodeBuildSettings.add('COCOAPODS_PARALLEL_CODE_SIGN=true');
// Relative to FLUTTER_APPLICATION_PATH, which is [Directory.current].
if (targetOverride != null) {
xcodeBuildSettings.add('FLUTTER_TARGET=$targetOverride');