From e633cde1fc58cc3390f981425be2517220bdf316 Mon Sep 17 00:00:00 2001 From: Pavel Yaskevich Date: Tue, 30 Sep 2025 16:55:22 -0700 Subject: [PATCH] [Tests] NFC: Add `iOS` requirement to `selectConfiguredTargets` test The test checks whether it's possible to select an appropriate target given a run destination and uses both macOS and iOS SDKs. If there is no `iOS` SDK installed it won't be possible to configure a test target for that platform and the test is going to fail. Resolves: rdar://161676960 --- Tests/SwiftBuildTests/InspectBuildDescriptionTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/SwiftBuildTests/InspectBuildDescriptionTests.swift b/Tests/SwiftBuildTests/InspectBuildDescriptionTests.swift index 448c0a66..2c656b38 100644 --- a/Tests/SwiftBuildTests/InspectBuildDescriptionTests.swift +++ b/Tests/SwiftBuildTests/InspectBuildDescriptionTests.swift @@ -74,7 +74,7 @@ fileprivate struct InspectBuildDescriptionTests { } } - @Test(.requireSDKs(.macOS)) + @Test(.requireSDKs(.macOS, .iOS)) func artifacts() async throws { try await withTemporaryDirectory { (temporaryDirectory: NamedTemporaryDirectory) in try await withAsyncDeferrable { deferrable in