Skip to content

Commit b4e05be

Browse files
committed
Explicitly link XCTest
Best to explicit about these things rdar://75455829
1 parent b7aea48 commit b4e05be

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Package.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,10 @@ let package = Package(
6565
.target(
6666
name: "IncrementalTestFramework",
6767
dependencies: [ "SwiftDriver", "SwiftOptions", "TestUtilities" ],
68-
path: "Tests/IncrementalTestFramework"),
68+
path: "Tests/IncrementalTestFramework",
69+
linkerSettings: [
70+
.linkedFramework("XCTest", .when(platforms: [.iOS, .macOS, .tvOS, .watchOS]))
71+
]),
6972

7073
.target(
7174
name: "TestUtilities",

0 commit comments

Comments
 (0)