Unverified Commit 5b02a5ec authored by Alexander Aprelev's avatar Alexander Aprelev Committed by GitHub

Fix iOS automatic signing on buildbots. (#14024)

parent 9e51a602
...@@ -6,6 +6,7 @@ import 'dart:async'; ...@@ -6,6 +6,7 @@ import 'dart:async';
import 'dart:convert'; import 'dart:convert';
import 'dart:io'; import 'dart:io';
import 'package:flutter_devicelab/framework/ios.dart';
import 'package:path/path.dart' as path; import 'package:path/path.dart' as path;
import '../framework/adb.dart'; import '../framework/adb.dart';
...@@ -33,6 +34,9 @@ TaskFunction createHotModeTest({ bool isPreviewDart2: false }) { ...@@ -33,6 +34,9 @@ TaskFunction createHotModeTest({ bool isPreviewDart2: false }) {
mkdirs(_editedFlutterGalleryDir); mkdirs(_editedFlutterGalleryDir);
recursiveCopy(flutterGalleryDir, _editedFlutterGalleryDir); recursiveCopy(flutterGalleryDir, _editedFlutterGalleryDir);
await inDirectory(_editedFlutterGalleryDir, () async { await inDirectory(_editedFlutterGalleryDir, () async {
if (deviceOperatingSystem == DeviceOperatingSystem.ios)
await prepareProvisioningCertificates(_editedFlutterGalleryDir.path);
final Process process = await startProcess( final Process process = await startProcess(
path.join(flutterDirectory.path, 'bin', 'flutter'), path.join(flutterDirectory.path, 'bin', 'flutter'),
<String>['run']..addAll(options), <String>['run']..addAll(options),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment