Skip to content

Commit

Permalink
Remove @_implementationOnly SSDK-736
Browse files Browse the repository at this point in the history
  • Loading branch information
aokj4ck committed Apr 17, 2024
1 parent 0d3813f commit ac5e025
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
10 changes: 4 additions & 6 deletions Sources/MapboxSearch/InternalAPI/CoreAliases.swift
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@_implementationOnly import MapboxCoreSearch
@testable import MapboxCoreSearch
@testable import MapboxSearch

class CoreUserRecordsLayerStub: CoreUserRecordsLayerProtocol {
Expand Down
1 change: 0 additions & 1 deletion Tests/MapboxSearchTests/CoreAliases.swift

This file was deleted.

1 change: 0 additions & 1 deletion Tests/MockWebServer/MockResponse.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Foundation
@_implementationOnly import MapboxCoreSearch
@testable import MapboxSearch
import Swifter
import XCTest
Expand Down

0 comments on commit ac5e025

Please sign in to comment.