diff --git a/Package.resolved b/Package.resolved index 955b52ad..c13f1c30 100644 --- a/Package.resolved +++ b/Package.resolved @@ -1,5 +1,5 @@ { - "originHash" : "e6d3adb6e1120d8ec888e92e5977e2ce73440a10c3e2f3088b9fb458e554f65f", + "originHash" : "65c4762fc267e15331f3aed90105265c610242906b39cfe4fb1bd366ae5ddcca", "pins" : [ { "identity" : "darwinprivateframeworks", diff --git a/Package.swift b/Package.swift index 1f355eca..09d48338 100644 --- a/Package.swift +++ b/Package.swift @@ -28,6 +28,7 @@ let buildForDarwinPlatform = envEnable("OPENSWIFTUI_BUILD_FOR_DARWIN_PLATFORM") // https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/issues/3061#issuecomment-2118821061 // By-pass https://github.com/swiftlang/swift-package-manager/issues/7580 let isSPIDocGenerationBuild = envEnable("SPI_GENERATE_DOCS", default: false) +let isSPIBuild = envEnable("SPI_BUILD") // MARK: - Env and Config @@ -242,7 +243,7 @@ extension Target { let useLocalDeps = envEnable("OPENGRAPH_USE_LOCAL_DEPS") -let attributeGraphCondition = envEnable("OPENGRAPH_ATTRIBUTEGRAPH", default: buildForDarwinPlatform && !isSPIDocGenerationBuild) +let attributeGraphCondition = envEnable("OPENGRAPH_ATTRIBUTEGRAPH", default: buildForDarwinPlatform && !isSPIBuild) if attributeGraphCondition { let privateFrameworkRepo: Package.Dependency