From ea5db3a2750e3fc1f0f36b0167a259dce0c13e58 Mon Sep 17 00:00:00 2001 From: Yutaka Date: Sun, 21 Aug 2022 16:01:47 +0900 Subject: [PATCH] added: import FoundationXML if needed --- Sources/DangerSwiftPeriphery/CheckstyleOutputParser.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/DangerSwiftPeriphery/CheckstyleOutputParser.swift b/Sources/DangerSwiftPeriphery/CheckstyleOutputParser.swift index 4e11455..e538010 100644 --- a/Sources/DangerSwiftPeriphery/CheckstyleOutputParser.swift +++ b/Sources/DangerSwiftPeriphery/CheckstyleOutputParser.swift @@ -6,6 +6,9 @@ // import Foundation +#if canImport(FoundationXML) +import FoundationXML +#endif protocol CheckstyleOutputParsable { func parse(xml: String) throws -> [Violation]