Opt into CocoaPods parallel codesigning (#76833)
This commit is contained in:
@@ -274,7 +274,8 @@ void main() {
|
||||
'TRACK_WIDGET_CREATION=true',
|
||||
'TREE_SHAKE_ICONS=true',
|
||||
'BUNDLE_SKSL_PATH=foo/bar.sksl.json',
|
||||
'PACKAGE_CONFIG=/.dart_tool/package_config.json'
|
||||
'PACKAGE_CONFIG=/.dart_tool/package_config.json',
|
||||
'COCOAPODS_PARALLEL_CODE_SIGN=true',
|
||||
]));
|
||||
}, overrides: <Type, Generator>{
|
||||
FileSystem: () => fileSystem,
|
||||
|
||||
@@ -1056,6 +1056,7 @@ void main() {
|
||||
expect(xcodeConfig, contains('FLUTTER_ROOT='));
|
||||
expect(xcodeConfig, contains('FLUTTER_APPLICATION_PATH='));
|
||||
expect(xcodeConfig, contains('FLUTTER_TARGET='));
|
||||
expect(xcodeConfig, contains('COCOAPODS_PARALLEL_CODE_SIGN=true'));
|
||||
|
||||
// Generated export environment variables script
|
||||
final String buildPhaseScriptPath = globals.fs.path.join('.ios', 'Flutter', 'flutter_export_environment.sh');
|
||||
@@ -1065,6 +1066,7 @@ void main() {
|
||||
expect(buildPhaseScript, contains('FLUTTER_ROOT='));
|
||||
expect(buildPhaseScript, contains('FLUTTER_APPLICATION_PATH='));
|
||||
expect(buildPhaseScript, contains('FLUTTER_TARGET='));
|
||||
expect(buildPhaseScript, contains('COCOAPODS_PARALLEL_CODE_SIGN=true'));
|
||||
|
||||
// Generated podspec
|
||||
final String podspecPath = globals.fs.path.join('.ios', 'Flutter', 'flutter_project.podspec');
|
||||
@@ -1157,6 +1159,7 @@ void main() {
|
||||
final String xcodeConfig = xcodeConfigFile.readAsStringSync();
|
||||
expect(xcodeConfig, contains('FLUTTER_ROOT='));
|
||||
expect(xcodeConfig, contains('FLUTTER_APPLICATION_PATH='));
|
||||
expect(xcodeConfig, contains('COCOAPODS_PARALLEL_CODE_SIGN=true'));
|
||||
// App identification
|
||||
final String xcodeProjectPath = globals.fs.path.join('ios', 'Runner.xcodeproj', 'project.pbxproj');
|
||||
expectExists(xcodeProjectPath);
|
||||
|
||||
Reference in New Issue
Block a user