Build Information
Failed to build ProfilePlaceholderView, reference 1.0.0 (dbb1bd
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 05:56:45 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cs4alhaider/ProfilePlaceholderView.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/cs4alhaider/ProfilePlaceholderView
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at dbb1bd3 Update README.md
Cloned https://github.com/cs4alhaider/ProfilePlaceholderView.git
Revision (git rev-parse @):
dbb1bd303a2ddb910bd2b5aaa9c92814e0cc2e9d
SUCCESS checkout https://github.com/cs4alhaider/ProfilePlaceholderView.git at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "profileplaceholderview",
"name": "ProfilePlaceholderView",
"url": "https://github.com/cs4alhaider/ProfilePlaceholderView.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ProfilePlaceholderView",
"dependencies": [
]
}
]
}
Fetching https://github.com/cs4alhaider/ProfilePlaceholderView.git
[1/83] Fetching profileplaceholderview
Fetched https://github.com/cs4alhaider/ProfilePlaceholderView.git from cache (1.04s)
Creating working copy for https://github.com/cs4alhaider/ProfilePlaceholderView.git
Working copy of https://github.com/cs4alhaider/ProfilePlaceholderView.git resolved at 1.0.0 (dbb1bd3)
warning: '.resolve-product-dependencies': dependency 'profileplaceholderview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/cs4alhaider/ProfilePlaceholderView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module ProfilePlaceholderView
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:13:78: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public extension Image {
| `- note: add @available attribute to enclosing extension
13 | func withProfilePlaceholderView(name: String, backgroundGradientColors: [Color]? = nil, font: Font? = nil) -> some View {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
14 | ProfilePlaceholderView(name: name, backgroundGradientColors: backgroundGradientColors, font: font)
15 | .overlay(self)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:13:99: error: 'Font' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public extension Image {
| `- note: add @available attribute to enclosing extension
13 | func withProfilePlaceholderView(name: String, backgroundGradientColors: [Color]? = nil, font: Font? = nil) -> some View {
| | `- error: 'Font' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
14 | ProfilePlaceholderView(name: name, backgroundGradientColors: backgroundGradientColors, font: font)
15 | .overlay(self)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:13:120: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public extension Image {
| `- note: add @available attribute to enclosing extension
13 | func withProfilePlaceholderView(name: String, backgroundGradientColors: [Color]? = nil, font: Font? = nil) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
14 | ProfilePlaceholderView(name: name, backgroundGradientColors: backgroundGradientColors, font: font)
15 | .overlay(self)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:12:18: error: 'Image' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public extension Image {
| | `- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
13 | func withProfilePlaceholderView(name: String, backgroundGradientColors: [Color]? = nil, font: Font? = nil) -> some View {
14 | ProfilePlaceholderView(name: name, backgroundGradientColors: backgroundGradientColors, font: font)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:22:36: error: 'Color' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
| `- error: 'Color' is only available in macOS 10.15 or newer
23 | let font: Font?
24 |
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:23:15: error: 'Font' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
23 | let font: Font?
| `- error: 'Font' is only available in macOS 10.15 or newer
24 |
25 | public init(name: String, backgroundGradientColors: [Color]? = nil, font: Font? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:25:58: error: 'Color' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
23 | let font: Font?
24 |
25 | public init(name: String, backgroundGradientColors: [Color]? = nil, font: Font? = nil) {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
26 | self.name = name
27 | self.backgroundGradientColors = backgroundGradientColors
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:25:79: error: 'Font' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
23 | let font: Font?
24 |
25 | public init(name: String, backgroundGradientColors: [Color]? = nil, font: Font? = nil) {
| | `- error: 'Font' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
26 | self.name = name
27 | self.backgroundGradientColors = backgroundGradientColors
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:48:18: error: 'Color' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
:
46 | }
47 |
48 | var colors: [Color] {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
49 | if let colors = backgroundGradientColors {
50 | return colors
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:58:27: error: 'View' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
:
56 | }
57 |
58 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
59 | ZStack {
60 | LinearGradient(gradient: Gradient(colors: colors), startPoint: .bottomTrailing, endPoint: .topLeading)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:74:31: error: 'View' is only available in macOS 10.15 or newer
71 |
72 | @available(iOS 13.0, *)
73 | struct ProfilePlaceholderView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
74 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
75 | ProfilePlaceholderView(name: "Abdullah Alhaider")
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:81:24: error: 'Color' is only available in macOS 10.15 or newer
78 |
79 | @available(iOS 13.0, *)
80 | public extension Color {
| `- note: add @available attribute to enclosing extension
81 | static var random: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
82 | return Color(red: .random(in: 0...1),
83 | green: .random(in: 0...1),
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:80:18: error: 'Color' is only available in macOS 10.15 or newer
78 |
79 | @available(iOS 13.0, *)
80 | public extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
81 | static var random: Color {
82 | return Color(red: .random(in: 0...1),
[4/4] Compiling ProfilePlaceholderView ProfilePlaceholderView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:13:78: error: 'Color' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public extension Image {
| `- note: add @available attribute to enclosing extension
13 | func withProfilePlaceholderView(name: String, backgroundGradientColors: [Color]? = nil, font: Font? = nil) -> some View {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
14 | ProfilePlaceholderView(name: name, backgroundGradientColors: backgroundGradientColors, font: font)
15 | .overlay(self)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:13:99: error: 'Font' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public extension Image {
| `- note: add @available attribute to enclosing extension
13 | func withProfilePlaceholderView(name: String, backgroundGradientColors: [Color]? = nil, font: Font? = nil) -> some View {
| | `- error: 'Font' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
14 | ProfilePlaceholderView(name: name, backgroundGradientColors: backgroundGradientColors, font: font)
15 | .overlay(self)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:13:120: error: 'View' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public extension Image {
| `- note: add @available attribute to enclosing extension
13 | func withProfilePlaceholderView(name: String, backgroundGradientColors: [Color]? = nil, font: Font? = nil) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
14 | ProfilePlaceholderView(name: name, backgroundGradientColors: backgroundGradientColors, font: font)
15 | .overlay(self)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:12:18: error: 'Image' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public extension Image {
| | `- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
13 | func withProfilePlaceholderView(name: String, backgroundGradientColors: [Color]? = nil, font: Font? = nil) -> some View {
14 | ProfilePlaceholderView(name: name, backgroundGradientColors: backgroundGradientColors, font: font)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:22:36: error: 'Color' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
| `- error: 'Color' is only available in macOS 10.15 or newer
23 | let font: Font?
24 |
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:23:15: error: 'Font' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
23 | let font: Font?
| `- error: 'Font' is only available in macOS 10.15 or newer
24 |
25 | public init(name: String, backgroundGradientColors: [Color]? = nil, font: Font? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:25:58: error: 'Color' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
23 | let font: Font?
24 |
25 | public init(name: String, backgroundGradientColors: [Color]? = nil, font: Font? = nil) {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
26 | self.name = name
27 | self.backgroundGradientColors = backgroundGradientColors
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:25:79: error: 'Font' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
23 | let font: Font?
24 |
25 | public init(name: String, backgroundGradientColors: [Color]? = nil, font: Font? = nil) {
| | `- error: 'Font' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing initializer
26 | self.name = name
27 | self.backgroundGradientColors = backgroundGradientColors
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:48:18: error: 'Color' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
:
46 | }
47 |
48 | var colors: [Color] {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
49 | if let colors = backgroundGradientColors {
50 | return colors
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:58:27: error: 'View' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
:
56 | }
57 |
58 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
59 | ZStack {
60 | LinearGradient(gradient: Gradient(colors: colors), startPoint: .bottomTrailing, endPoint: .topLeading)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:74:31: error: 'View' is only available in macOS 10.15 or newer
71 |
72 | @available(iOS 13.0, *)
73 | struct ProfilePlaceholderView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
74 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
75 | ProfilePlaceholderView(name: "Abdullah Alhaider")
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:81:24: error: 'Color' is only available in macOS 10.15 or newer
78 |
79 | @available(iOS 13.0, *)
80 | public extension Color {
| `- note: add @available attribute to enclosing extension
81 | static var random: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
82 | return Color(red: .random(in: 0...1),
83 | green: .random(in: 0...1),
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:80:18: error: 'Color' is only available in macOS 10.15 or newer
78 |
79 | @available(iOS 13.0, *)
80 | public extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
81 | static var random: Color {
82 | return Color(red: .random(in: 0...1),
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:15:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
10 |
11 | @available(iOS 13.0, *)
12 | public extension Image {
| `- note: add @available attribute to enclosing extension
13 | func withProfilePlaceholderView(name: String, backgroundGradientColors: [Color]? = nil, font: Font? = nil) -> some View {
| `- note: add @available attribute to enclosing instance method
14 | ProfilePlaceholderView(name: name, backgroundGradientColors: backgroundGradientColors, font: font)
15 | .overlay(self)
| |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
16 | }
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:14:9: warning: call to main actor-isolated initializer 'init(name:backgroundGradientColors:font:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
11 | @available(iOS 13.0, *)
12 | public extension Image {
13 | func withProfilePlaceholderView(name: String, backgroundGradientColors: [Color]? = nil, font: Font? = nil) -> some View {
| `- note: add '@MainActor' to make instance method 'withProfilePlaceholderView(name:backgroundGradientColors:font:)' part of global actor 'MainActor'
14 | ProfilePlaceholderView(name: name, backgroundGradientColors: backgroundGradientColors, font: font)
| `- warning: call to main actor-isolated initializer 'init(name:backgroundGradientColors:font:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | .overlay(self)
16 | }
:
23 | let font: Font?
24 |
25 | public init(name: String, backgroundGradientColors: [Color]? = nil, font: Font? = nil) {
| `- note: calls to initializer 'init(name:backgroundGradientColors:font:)' from outside of its actor context are implicitly asynchronous
26 | self.name = name
27 | self.backgroundGradientColors = backgroundGradientColors
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:52:25: error: 'Color' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
:
46 | }
47 |
48 | var colors: [Color] {
| `- note: add @available attribute to enclosing property
49 | if let colors = backgroundGradientColors {
50 | return colors
51 | } else {
52 | let color = Color.random
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
53 | let colors = [color, color.opacity(0.4)]
54 | return colors
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:53:40: error: 'opacity' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
:
46 | }
47 |
48 | var colors: [Color] {
| `- note: add @available attribute to enclosing property
49 | if let colors = backgroundGradientColors {
50 | return colors
51 | } else {
52 | let color = Color.random
53 | let colors = [color, color.opacity(0.4)]
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
54 | return colors
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:59:9: error: 'ZStack' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
:
56 | }
57 |
58 | public var body: some View {
| `- note: add @available attribute to enclosing property
59 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
60 | LinearGradient(gradient: Gradient(colors: colors), startPoint: .bottomTrailing, endPoint: .topLeading)
61 | GeometryReader { geo in
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:60:13: error: 'LinearGradient' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
:
56 | }
57 |
58 | public var body: some View {
| `- note: add @available attribute to enclosing property
59 | ZStack {
60 | LinearGradient(gradient: Gradient(colors: colors), startPoint: .bottomTrailing, endPoint: .topLeading)
| |- error: 'LinearGradient' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | GeometryReader { geo in
62 | Text(self.placeholderText)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:60:38: error: 'Gradient' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
:
56 | }
57 |
58 | public var body: some View {
| `- note: add @available attribute to enclosing property
59 | ZStack {
60 | LinearGradient(gradient: Gradient(colors: colors), startPoint: .bottomTrailing, endPoint: .topLeading)
| |- error: 'Gradient' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
61 | GeometryReader { geo in
62 | Text(self.placeholderText)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:61:13: error: 'GeometryReader' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
:
56 | }
57 |
58 | public var body: some View {
| `- note: add @available attribute to enclosing property
59 | ZStack {
60 | LinearGradient(gradient: Gradient(colors: colors), startPoint: .bottomTrailing, endPoint: .topLeading)
61 | GeometryReader { geo in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | Text(self.placeholderText)
63 | .shadow(color: Color.black.opacity(0.3), radius: 7, x: 0, y: 0)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:62:17: error: 'Text' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
:
56 | }
57 |
58 | public var body: some View {
| `- note: add @available attribute to enclosing property
59 | ZStack {
60 | LinearGradient(gradient: Gradient(colors: colors), startPoint: .bottomTrailing, endPoint: .topLeading)
61 | GeometryReader { geo in
62 | Text(self.placeholderText)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | .shadow(color: Color.black.opacity(0.3), radius: 7, x: 0, y: 0)
64 | .foregroundColor(.white)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:63:22: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
:
56 | }
57 |
58 | public var body: some View {
| `- note: add @available attribute to enclosing property
59 | ZStack {
60 | LinearGradient(gradient: Gradient(colors: colors), startPoint: .bottomTrailing, endPoint: .topLeading)
61 | GeometryReader { geo in
62 | Text(self.placeholderText)
63 | .shadow(color: Color.black.opacity(0.3), radius: 7, x: 0, y: 0)
| |- error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | .foregroundColor(.white)
65 | .font(self.font ?? .system(size: geo.size.width / 2.5 - 5, weight: .medium, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:63:36: error: 'Color' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
:
56 | }
57 |
58 | public var body: some View {
| `- note: add @available attribute to enclosing property
59 | ZStack {
60 | LinearGradient(gradient: Gradient(colors: colors), startPoint: .bottomTrailing, endPoint: .topLeading)
61 | GeometryReader { geo in
62 | Text(self.placeholderText)
63 | .shadow(color: Color.black.opacity(0.3), radius: 7, x: 0, y: 0)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | .foregroundColor(.white)
65 | .font(self.font ?? .system(size: geo.size.width / 2.5 - 5, weight: .medium, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:63:42: error: 'black' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
:
56 | }
57 |
58 | public var body: some View {
| `- note: add @available attribute to enclosing property
59 | ZStack {
60 | LinearGradient(gradient: Gradient(colors: colors), startPoint: .bottomTrailing, endPoint: .topLeading)
61 | GeometryReader { geo in
62 | Text(self.placeholderText)
63 | .shadow(color: Color.black.opacity(0.3), radius: 7, x: 0, y: 0)
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | .foregroundColor(.white)
65 | .font(self.font ?? .system(size: geo.size.width / 2.5 - 5, weight: .medium, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:63:48: error: 'opacity' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
:
56 | }
57 |
58 | public var body: some View {
| `- note: add @available attribute to enclosing property
59 | ZStack {
60 | LinearGradient(gradient: Gradient(colors: colors), startPoint: .bottomTrailing, endPoint: .topLeading)
61 | GeometryReader { geo in
62 | Text(self.placeholderText)
63 | .shadow(color: Color.black.opacity(0.3), radius: 7, x: 0, y: 0)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
64 | .foregroundColor(.white)
65 | .font(self.font ?? .system(size: geo.size.width / 2.5 - 5, weight: .medium, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:64:22: error: 'foregroundColor' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
:
56 | }
57 |
58 | public var body: some View {
| `- note: add @available attribute to enclosing property
59 | ZStack {
60 | LinearGradient(gradient: Gradient(colors: colors), startPoint: .bottomTrailing, endPoint: .topLeading)
:
62 | Text(self.placeholderText)
63 | .shadow(color: Color.black.opacity(0.3), radius: 7, x: 0, y: 0)
64 | .foregroundColor(.white)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | .font(self.font ?? .system(size: geo.size.width / 2.5 - 5, weight: .medium, design: .rounded))
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:64:39: error: 'white' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
:
56 | }
57 |
58 | public var body: some View {
| `- note: add @available attribute to enclosing property
59 | ZStack {
60 | LinearGradient(gradient: Gradient(colors: colors), startPoint: .bottomTrailing, endPoint: .topLeading)
:
62 | Text(self.placeholderText)
63 | .shadow(color: Color.black.opacity(0.3), radius: 7, x: 0, y: 0)
64 | .foregroundColor(.white)
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | .font(self.font ?? .system(size: geo.size.width / 2.5 - 5, weight: .medium, design: .rounded))
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:65:22: error: 'font' is only available in macOS 10.15 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
:
56 | }
57 |
58 | public var body: some View {
| `- note: add @available attribute to enclosing property
59 | ZStack {
60 | LinearGradient(gradient: Gradient(colors: colors), startPoint: .bottomTrailing, endPoint: .topLeading)
:
63 | .shadow(color: Color.black.opacity(0.3), radius: 7, x: 0, y: 0)
64 | .foregroundColor(.white)
65 | .font(self.font ?? .system(size: geo.size.width / 2.5 - 5, weight: .medium, design: .rounded))
| |- error: 'font' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | }
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:65:41: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
18 |
19 | @available(iOS 13.0, *)
20 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
21 | let name: String
22 | let backgroundGradientColors: [Color]?
:
56 | }
57 |
58 | public var body: some View {
| `- note: add @available attribute to enclosing property
59 | ZStack {
60 | LinearGradient(gradient: Gradient(colors: colors), startPoint: .bottomTrailing, endPoint: .topLeading)
:
63 | .shadow(color: Color.black.opacity(0.3), radius: 7, x: 0, y: 0)
64 | .foregroundColor(.white)
65 | .font(self.font ?? .system(size: geo.size.width / 2.5 - 5, weight: .medium, design: .rounded))
| |- error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
66 | }
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:82:16: error: 'Color' is only available in macOS 10.15 or newer
78 |
79 | @available(iOS 13.0, *)
80 | public extension Color {
| `- note: add @available attribute to enclosing extension
81 | static var random: Color {
| `- note: add @available attribute to enclosing static property
82 | return Color(red: .random(in: 0...1),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | green: .random(in: 0...1),
84 | blue: .random(in: 0...1))
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:82:16: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
78 |
79 | @available(iOS 13.0, *)
80 | public extension Color {
| `- note: add @available attribute to enclosing extension
81 | static var random: Color {
| `- note: add @available attribute to enclosing static property
82 | return Color(red: .random(in: 0...1),
| |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
83 | green: .random(in: 0...1),
84 | blue: .random(in: 0...1))
BUILD FAILURE 6.0 macosSpm