diff --git a/Sources/XCRemoteCache/Stats/CacheHitLogger.swift b/Sources/XCRemoteCache/Stats/CacheHitLogger.swift index 8f276e11..374a9ff2 100644 --- a/Sources/XCRemoteCache/Stats/CacheHitLogger.swift +++ b/Sources/XCRemoteCache/Stats/CacheHitLogger.swift @@ -37,7 +37,7 @@ class ActionSpecificCacheHitLogger: CacheHitLogger { case .index: hitCounter = .indexingTargetHitCount missCounter = .indexingTargetMissCount - case .build: + case .build, .archive: hitCounter = .targetCacheHit missCounter = .targetCacheMiss case .unknown: diff --git a/Sources/XCRemoteCache/Xcode/BuildActionType.swift b/Sources/XCRemoteCache/Xcode/BuildActionType.swift index efaa9fdb..556067dc 100644 --- a/Sources/XCRemoteCache/Xcode/BuildActionType.swift +++ b/Sources/XCRemoteCache/Xcode/BuildActionType.swift @@ -25,6 +25,8 @@ enum BuildActionType: String, Codable { case build /// An extra build, exclusive for indexing (Introduced in Xcode 13) case index = "indexbuild" + /// Archive build + case archive = "install" /// Unknown type, probably incompatible Xcode version used case unknown }