diff --git a/Sources/ValidatorCore/Extensions/URLSession+etc.swift b/Sources/ValidatorCore/Extensions/URLSession+ext.swift similarity index 100% rename from Sources/ValidatorCore/Extensions/URLSession+etc.swift rename to Sources/ValidatorCore/Extensions/URLSession+ext.swift diff --git a/Sources/ValidatorCore/SwiftPackageIndexAPI.swift b/Sources/ValidatorCore/SwiftPackageIndexAPI.swift index ba30b40..30af9cb 100644 --- a/Sources/ValidatorCore/SwiftPackageIndexAPI.swift +++ b/Sources/ValidatorCore/SwiftPackageIndexAPI.swift @@ -14,6 +14,9 @@ import Foundation +#if canImport(FoundationNetworking) +import FoundationNetworking +#endif import CanonicalPackageURL