From 9f4046bfd2c23e76c30dfefe0ed164405b1b0ee8 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Fri, 2 Jan 2026 12:15:08 -0600 Subject: [PATCH] Use @_implementationOnly for UIKit imports to prevent macro conflicts --- Sources/Bedrock/Audio/SoundManager.swift | 2 +- Sources/Bedrock/Utilities/DeviceInfo.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Bedrock/Audio/SoundManager.swift b/Sources/Bedrock/Audio/SoundManager.swift index d6a58df..fb17fd4 100644 --- a/Sources/Bedrock/Audio/SoundManager.swift +++ b/Sources/Bedrock/Audio/SoundManager.swift @@ -10,7 +10,7 @@ import Foundation import SwiftUI #if canImport(UIKit) -import UIKit +@_implementationOnly import UIKit #endif // MARK: - Sound Protocol diff --git a/Sources/Bedrock/Utilities/DeviceInfo.swift b/Sources/Bedrock/Utilities/DeviceInfo.swift index e33bf5c..8271544 100644 --- a/Sources/Bedrock/Utilities/DeviceInfo.swift +++ b/Sources/Bedrock/Utilities/DeviceInfo.swift @@ -9,7 +9,7 @@ import Foundation import SwiftUI #if canImport(UIKit) -import UIKit +@_implementationOnly import UIKit #endif /// Device information utilities for responsive layouts and adaptive UI.