Closed polac24 closed 2 years ago
Code coverage leads to 100% cache miss.
Fingerprint generator takes into consideration raw CLANG_PROFILE_DATA_DIRECTORY, which is an absolute path. Instead, that path should be first redacted (like $(BUILT_PRODUCTS_DIR)/Profile) before being taken into hashing.
CLANG_PROFILE_DATA_DIRECTORY
$(BUILT_PRODUCTS_DIR)/Profile
See https://github.com/spotify/XCRemoteCache/blob/bf90d518f42aaa67df71332a202faeb5ae29f9b9/Sources/XCRemoteCache/Fingerprint/EnvironmentFingerprint.swift#L25
Code coverage leads to 100% cache miss.
Fingerprint generator takes into consideration raw
CLANG_PROFILE_DATA_DIRECTORY
, which is an absolute path. Instead, that path should be first redacted (like$(BUILT_PRODUCTS_DIR)/Profile
) before being taken into hashing.See https://github.com/spotify/XCRemoteCache/blob/bf90d518f42aaa67df71332a202faeb5ae29f9b9/Sources/XCRemoteCache/Fingerprint/EnvironmentFingerprint.swift#L25