diff --git a/Package.resolved b/Package.resolved index 448ac81..9ca857e 100644 --- a/Package.resolved +++ b/Package.resolved @@ -5,8 +5,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/pointfreeco/swift-snapshot-testing", "state" : { - "revision" : "63d3b45dd249878a41c56274a748ca2c1c9c5230", - "version" : "1.17.1" + "revision" : "6d932a79e7173b275b96c600c86c603cf84f153c", + "version" : "1.17.4" } }, { diff --git a/Sources/MacroTesting/AssertMacro.swift b/Sources/MacroTesting/AssertMacro.swift index ad730cb..f277dbe 100644 --- a/Sources/MacroTesting/AssertMacro.swift +++ b/Sources/MacroTesting/AssertMacro.swift @@ -10,6 +10,8 @@ import SwiftSyntaxMacros import XCTest #if canImport(Testing) + // NB: We are importing only the implementation of Testing because that framework is not available + // in Xcode UI test targets. @_implementationOnly import Testing #endif diff --git a/Sources/MacroTesting/Internal/RecordIssue.swift b/Sources/MacroTesting/Internal/RecordIssue.swift index d0c99c3..13d087c 100644 --- a/Sources/MacroTesting/Internal/RecordIssue.swift +++ b/Sources/MacroTesting/Internal/RecordIssue.swift @@ -1,6 +1,8 @@ import XCTest #if canImport(Testing) + // NB: We are importing only the implementation of Testing because that framework is not available + // in Xcode UI test targets. @_implementationOnly import Testing #endif diff --git a/Sources/MacroTesting/MacrosTestTrait.swift b/Sources/MacroTesting/MacrosTestTrait.swift index 7d81ec6..e833801 100644 --- a/Sources/MacroTesting/MacrosTestTrait.swift +++ b/Sources/MacroTesting/MacrosTestTrait.swift @@ -2,6 +2,8 @@ import SnapshotTesting import SwiftSyntax import SwiftSyntaxMacros + // NB: We are importing only the implementation of Testing because that framework is not available + // in Xcode UI test targets. @_implementationOnly import Testing @_spi(Experimental)