Looks like with the Xcode 14 and Swift 5.6 stack, XCMetrics fails to compile.
The error I'm receiving is here:
[1308/1314] Compiling Vapor Application.swift
/private/var/folders/5v/z721gx9s29d54dfpy2znzmd80000gn/T/mint/github.com_spotify_XCMetrics/.build/checkouts/vapor/Sources/Vapor/HTTP/Headers/HTTPHeaders+Directive.swift:230:14: error: ambiguous use of 'split(separator:maxSplits:omittingEmptySubsequences:)'
self.lazy.split(separator: "\\").reduce(into: "") { (result, part) in
^
Swift.Sequence:2:40: note: found this candidate
@inlinable public __consuming func split(separator: Self.Element, maxSplits: Int = Int.max, omittingEmptySubsequences: Bool = true) -> [ArraySlice<Self.Element>]
^
Swift.Collection:2:40: note: found this candidate
@inlinable public __consuming func split(separator: Self.Element, maxSplits: Int = Int.max, omittingEmptySubsequences: Bool = true) -> [Self.SubSequence]
It looks like this is an error in the Vapor library which has been fixed a few versions ago. I think if we bump the version of that dependency it would probably fix the issue. Thanks!
Looks like with the Xcode 14 and Swift 5.6 stack,
XCMetrics
fails to compile.The error I'm receiving is here:
It looks like this is an error in the Vapor library which has been fixed a few versions ago. I think if we bump the version of that dependency it would probably fix the issue. Thanks!