From 50de129d29cb7921be067ba35acdfab83435842a Mon Sep 17 00:00:00 2001 From: NinjaLikesCheez Date: Fri, 1 Dec 2023 11:30:49 +0100 Subject: [PATCH] Fix compliation error --- Sources/GenIR/OutputPostprocessor.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Sources/GenIR/OutputPostprocessor.swift b/Sources/GenIR/OutputPostprocessor.swift index 0ddcf6c..643f8c2 100644 --- a/Sources/GenIR/OutputPostprocessor.swift +++ b/Sources/GenIR/OutputPostprocessor.swift @@ -18,6 +18,9 @@ class OutputPostprocessor { /// The to the output IR folders that will be processed let output: URL + /// The archive path, this should be the parent path of `output` + let archive: URL + /// Mapping of dynamic dependencies (inside the xcarchive) to their paths on disk private let dynamicDependencyToPath: [String: URL] @@ -29,6 +32,7 @@ class OutputPostprocessor { init(archive: URL, output: URL, targets: Targets, dumpGraph: Bool) throws { self.output = output + self.archive = archive dynamicDependencyToPath = dynamicDependencies(in: self.archive)