diff --git a/Sources/MapboxSearch/InternalAPI/CoreAliases.swift b/Sources/MapboxSearch/InternalAPI/CoreAliases.swift index 1c69bb309..c718e5480 100644 --- a/Sources/MapboxSearch/InternalAPI/CoreAliases.swift +++ b/Sources/MapboxSearch/InternalAPI/CoreAliases.swift @@ -1,10 +1,8 @@ -@_implementationOnly import MapboxCommon_Private +import MapboxCommon_Private +import MapboxCoreSearch +import MapboxCoreSearch_Private -/// https://forums.swift.org/t/update-on-implementation-only-imports/26996 -@_implementationOnly import MapboxCoreSearch -@_implementationOnly import MapboxCoreSearch_Private - -// Note: This file included in MapboxSearch and MapboxSearchTests targets +// Note: This file is included in MapboxSearch and MapboxSearchTests targets typealias CoreSearchEngine = MapboxCoreSearch.SearchEngine typealias CoreSearchResponse = MapboxCoreSearch_Private.SearchResponse diff --git a/Tests/MapboxSearchTests/Common/Stubs&Models/CoreUserRecordsLayerStub.swift b/Tests/MapboxSearchTests/Common/Stubs&Models/CoreUserRecordsLayerStub.swift index 7b7a2d85e..4a82b8c1f 100644 --- a/Tests/MapboxSearchTests/Common/Stubs&Models/CoreUserRecordsLayerStub.swift +++ b/Tests/MapboxSearchTests/Common/Stubs&Models/CoreUserRecordsLayerStub.swift @@ -1,4 +1,4 @@ -@_implementationOnly import MapboxCoreSearch +@testable import MapboxCoreSearch @testable import MapboxSearch class CoreUserRecordsLayerStub: CoreUserRecordsLayerProtocol { diff --git a/Tests/MapboxSearchTests/CoreAliases.swift b/Tests/MapboxSearchTests/CoreAliases.swift deleted file mode 120000 index 94c9daba1..000000000 --- a/Tests/MapboxSearchTests/CoreAliases.swift +++ /dev/null @@ -1 +0,0 @@ -../../Sources/MapboxSearch/InternalAPI/CoreAliases.swift \ No newline at end of file diff --git a/Tests/MockWebServer/MockResponse.swift b/Tests/MockWebServer/MockResponse.swift index cea7235d3..d37d5170e 100644 --- a/Tests/MockWebServer/MockResponse.swift +++ b/Tests/MockWebServer/MockResponse.swift @@ -1,5 +1,4 @@ import Foundation -@_implementationOnly import MapboxCoreSearch @testable import MapboxSearch import Swifter import XCTest