Remove macOS target - iOS only

This commit is contained in:
Matt Bruce 2026-01-08 18:11:32 -06:00
parent 7c04a25fc2
commit 4ac3928646
2 changed files with 5 additions and 2 deletions

View File

@ -7,8 +7,7 @@ let package = Package(
name: "Bedrock",
defaultLocalization: "en",
platforms: [
.iOS(.v18),
.macOS(.v15)
.iOS(.v18)
],
products: [
.library(

View File

@ -139,6 +139,7 @@ public struct IconGeneratorView: View {
@MainActor
private func generateIcon() async {
#if canImport(UIKit)
isGenerating = true
generatedIcon = nil
status = "Generating icon..."
@ -167,6 +168,9 @@ public struct IconGeneratorView: View {
}
isGenerating = false
#else
status = "⚠️ Icon generation is only available on iOS"
#endif
}
}