diff --git a/Sources/Testing/Discovery+Platform.swift b/Sources/Testing/Discovery+Platform.swift index a42800577..3f66b62ad 100644 --- a/Sources/Testing/Discovery+Platform.swift +++ b/Sources/Testing/Discovery+Platform.swift @@ -9,6 +9,9 @@ // internal import _TestingInternals +#if _runtime(_ObjC) +private import ObjectiveC +#endif /// A structure describing the bounds of a Swift metadata section. struct SectionBounds: Sendable {