Only run pod install on the first iOS build (#108205)
This commit is contained in:
@@ -62,7 +62,9 @@ class Fingerprinter {
|
||||
void writeFingerprint() {
|
||||
try {
|
||||
final Fingerprint fingerprint = buildFingerprint();
|
||||
_fileSystem.file(fingerprintPath).writeAsStringSync(fingerprint.toJson());
|
||||
final File fingerprintFile = _fileSystem.file(fingerprintPath);
|
||||
fingerprintFile.createSync(recursive: true);
|
||||
fingerprintFile.writeAsStringSync(fingerprint.toJson());
|
||||
} on Exception catch (e) {
|
||||
// Log exception and continue, fingerprinting is only a performance improvement.
|
||||
_logger.printTrace('Fingerprint write error: $e');
|
||||
|
||||
@@ -28,7 +28,6 @@ Future<void> processPodsIfNeeded(
|
||||
paths: <String>[
|
||||
xcodeProject.xcodeProjectInfoFile.path,
|
||||
xcodeProject.podfile.path,
|
||||
xcodeProject.generatedXcodePropertiesFile.path,
|
||||
globals.fs.path.join(
|
||||
Cache.flutterRoot!,
|
||||
'packages',
|
||||
|
||||
Reference in New Issue
Block a user