diff --git a/Package.swift b/Package.swift index 8a3ea86..d9b38b2 100644 --- a/Package.swift +++ b/Package.swift @@ -29,13 +29,14 @@ let package = Package( targets: [ .target( name: "SpellbookFoundation", - dependencies: ["SpellbookFoundationObjC"], + dependencies: ["_SpellbookFoundationObjC"], linkerSettings: [ .linkedLibrary("bsm", .when(platforms: [.macOS])), ] ), .target( - name: "SpellbookFoundationObjC", + name: "_SpellbookFoundationObjC", + path: "Sources/SpellbookFoundationObjC", publicHeadersPath: "." ), .target( diff --git a/Sources/SpellbookFoundation/Common/Exceptions.swift b/Sources/SpellbookFoundation/Common/Exceptions.swift index 14124ac..cbc02e9 100644 --- a/Sources/SpellbookFoundation/Common/Exceptions.swift +++ b/Sources/SpellbookFoundation/Common/Exceptions.swift @@ -20,7 +20,7 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -@_implementationOnly import SpellbookFoundationObjC +@_implementationOnly import _SpellbookFoundationObjC import Foundation diff --git a/Sources/SpellbookFoundation/Low Level/AuditToken.swift b/Sources/SpellbookFoundation/Low Level/AuditToken.swift index 1d1e6a8..4b04e37 100644 --- a/Sources/SpellbookFoundation/Low Level/AuditToken.swift +++ b/Sources/SpellbookFoundation/Low Level/AuditToken.swift @@ -23,7 +23,7 @@ #if os(macOS) import Foundation -@_implementationOnly import SpellbookFoundationObjC +@_implementationOnly import _SpellbookFoundationObjC extension audit_token_t { /// Returns current task audit token.