Remove macOS target - iOS only
This commit is contained in:
parent
7c04a25fc2
commit
4ac3928646
@ -7,8 +7,7 @@ let package = Package(
|
||||
name: "Bedrock",
|
||||
defaultLocalization: "en",
|
||||
platforms: [
|
||||
.iOS(.v18),
|
||||
.macOS(.v15)
|
||||
.iOS(.v18)
|
||||
],
|
||||
products: [
|
||||
.library(
|
||||
|
||||
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user