diff --git a/Sources/MacroTesting/AssertMacro.swift b/Sources/MacroTesting/AssertMacro.swift index f277dbe..604ba6c 100644 --- a/Sources/MacroTesting/AssertMacro.swift +++ b/Sources/MacroTesting/AssertMacro.swift @@ -10,9 +10,7 @@ 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 + import Testing #endif /// Asserts that a given Swift source string matches an expected string with all macros expanded. diff --git a/Sources/MacroTesting/Internal/RecordIssue.swift b/Sources/MacroTesting/Internal/RecordIssue.swift index 13d087c..01c700d 100644 --- a/Sources/MacroTesting/Internal/RecordIssue.swift +++ b/Sources/MacroTesting/Internal/RecordIssue.swift @@ -1,9 +1,7 @@ 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 + import Testing #endif @_spi(Internals) diff --git a/Sources/MacroTesting/MacrosTestTrait.swift b/Sources/MacroTesting/MacrosTestTrait.swift index e833801..fad9e28 100644 --- a/Sources/MacroTesting/MacrosTestTrait.swift +++ b/Sources/MacroTesting/MacrosTestTrait.swift @@ -2,9 +2,7 @@ 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 + import Testing @_spi(Experimental) extension Trait where Self == _MacrosTestTrait {