Build Information
Failed to build ProfilePlaceholderView, reference master (e8c9e4
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 05:55:39 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/cs4alhaider/ProfilePlaceholderView
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e8c9e4c Fix for armv7
Cloned https://github.com/cs4alhaider/ProfilePlaceholderView.git
Revision (git rev-parse @):
e8c9e4c3d9400fbd88d61f6ebe9cce16cf7081a6
SUCCESS checkout https://github.com/cs4alhaider/ProfilePlaceholderView.git at master
========================================
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.13s)
Creating working copy for https://github.com/cs4alhaider/ProfilePlaceholderView.git
Working copy of https://github.com/cs4alhaider/ProfilePlaceholderView.git resolved at master (e8c9e4c)
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:15:78: error: 'Color' is only available in macOS 10.15 or newer
12 |
13 | @available(iOS 13.0, *)
14 | public extension Image {
| `- note: add @available attribute to enclosing extension
15 | 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
16 | ProfilePlaceholderView(name: name, backgroundGradientColors: backgroundGradientColors, font: font)
17 | .overlay(self)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:15:99: error: 'Font' is only available in macOS 10.15 or newer
12 |
13 | @available(iOS 13.0, *)
14 | public extension Image {
| `- note: add @available attribute to enclosing extension
15 | 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
16 | ProfilePlaceholderView(name: name, backgroundGradientColors: backgroundGradientColors, font: font)
17 | .overlay(self)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:15:120: error: 'View' is only available in macOS 10.15 or newer
12 |
13 | @available(iOS 13.0, *)
14 | public extension Image {
| `- note: add @available attribute to enclosing extension
15 | 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
16 | ProfilePlaceholderView(name: name, backgroundGradientColors: backgroundGradientColors, font: font)
17 | .overlay(self)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:14:18: error: 'Image' is only available in macOS 10.15 or newer
12 |
13 | @available(iOS 13.0, *)
14 | public extension Image {
| | `- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
15 | func withProfilePlaceholderView(name: String, backgroundGradientColors: [Color]? = nil, font: Font? = nil) -> some View {
16 | ProfilePlaceholderView(name: name, backgroundGradientColors: backgroundGradientColors, font: font)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:24:36: error: 'Color' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
| `- error: 'Color' is only available in macOS 10.15 or newer
25 | let font: Font?
26 |
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:25:15: error: 'Font' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
25 | let font: Font?
| `- error: 'Font' is only available in macOS 10.15 or newer
26 |
27 | public init(name: String, backgroundGradientColors: [Color]? = nil, font: Font? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:27:58: error: 'Color' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
25 | let font: Font?
26 |
27 | 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
28 | self.name = name
29 | self.backgroundGradientColors = backgroundGradientColors
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:27:79: error: 'Font' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
25 | let font: Font?
26 |
27 | 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
28 | self.name = name
29 | self.backgroundGradientColors = backgroundGradientColors
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:50:18: error: 'Color' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
:
48 | }
49 |
50 | var colors: [Color] {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
51 | if let colors = backgroundGradientColors {
52 | return colors
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:60:27: error: 'View' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
:
58 | }
59 |
60 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
61 | GeometryReader { geo in
62 | ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:76:31: error: 'View' is only available in macOS 10.15 or newer
73 |
74 | @available(iOS 13.0, *)
75 | struct ProfilePlaceholderView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
76 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
77 | ProfilePlaceholderView(name: "Abdullah Alhaider")
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:83:24: error: 'Color' is only available in macOS 10.15 or newer
80 |
81 | @available(iOS 13.0, *)
82 | public extension Color {
| `- note: add @available attribute to enclosing extension
83 | static var random: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
84 | return Color(red: .random(in: 0...1),
85 | green: .random(in: 0...1),
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:82:18: error: 'Color' is only available in macOS 10.15 or newer
80 |
81 | @available(iOS 13.0, *)
82 | public extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
83 | static var random: Color {
84 | return Color(red: .random(in: 0...1),
[4/4] Compiling ProfilePlaceholderView ProfilePlaceholderView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:15:78: error: 'Color' is only available in macOS 10.15 or newer
12 |
13 | @available(iOS 13.0, *)
14 | public extension Image {
| `- note: add @available attribute to enclosing extension
15 | 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
16 | ProfilePlaceholderView(name: name, backgroundGradientColors: backgroundGradientColors, font: font)
17 | .overlay(self)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:15:99: error: 'Font' is only available in macOS 10.15 or newer
12 |
13 | @available(iOS 13.0, *)
14 | public extension Image {
| `- note: add @available attribute to enclosing extension
15 | 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
16 | ProfilePlaceholderView(name: name, backgroundGradientColors: backgroundGradientColors, font: font)
17 | .overlay(self)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:15:120: error: 'View' is only available in macOS 10.15 or newer
12 |
13 | @available(iOS 13.0, *)
14 | public extension Image {
| `- note: add @available attribute to enclosing extension
15 | 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
16 | ProfilePlaceholderView(name: name, backgroundGradientColors: backgroundGradientColors, font: font)
17 | .overlay(self)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:14:18: error: 'Image' is only available in macOS 10.15 or newer
12 |
13 | @available(iOS 13.0, *)
14 | public extension Image {
| | `- error: 'Image' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
15 | func withProfilePlaceholderView(name: String, backgroundGradientColors: [Color]? = nil, font: Font? = nil) -> some View {
16 | ProfilePlaceholderView(name: name, backgroundGradientColors: backgroundGradientColors, font: font)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:24:36: error: 'Color' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
| `- error: 'Color' is only available in macOS 10.15 or newer
25 | let font: Font?
26 |
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:25:15: error: 'Font' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
25 | let font: Font?
| `- error: 'Font' is only available in macOS 10.15 or newer
26 |
27 | public init(name: String, backgroundGradientColors: [Color]? = nil, font: Font? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:27:58: error: 'Color' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
25 | let font: Font?
26 |
27 | 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
28 | self.name = name
29 | self.backgroundGradientColors = backgroundGradientColors
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:27:79: error: 'Font' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
25 | let font: Font?
26 |
27 | 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
28 | self.name = name
29 | self.backgroundGradientColors = backgroundGradientColors
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:50:18: error: 'Color' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
:
48 | }
49 |
50 | var colors: [Color] {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
51 | if let colors = backgroundGradientColors {
52 | return colors
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:60:27: error: 'View' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
:
58 | }
59 |
60 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
61 | GeometryReader { geo in
62 | ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:76:31: error: 'View' is only available in macOS 10.15 or newer
73 |
74 | @available(iOS 13.0, *)
75 | struct ProfilePlaceholderView_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
76 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
77 | ProfilePlaceholderView(name: "Abdullah Alhaider")
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:83:24: error: 'Color' is only available in macOS 10.15 or newer
80 |
81 | @available(iOS 13.0, *)
82 | public extension Color {
| `- note: add @available attribute to enclosing extension
83 | static var random: Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
84 | return Color(red: .random(in: 0...1),
85 | green: .random(in: 0...1),
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:82:18: error: 'Color' is only available in macOS 10.15 or newer
80 |
81 | @available(iOS 13.0, *)
82 | public extension Color {
| | `- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
83 | static var random: Color {
84 | return Color(red: .random(in: 0...1),
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:17:14: error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
12 |
13 | @available(iOS 13.0, *)
14 | public extension Image {
| `- note: add @available attribute to enclosing extension
15 | func withProfilePlaceholderView(name: String, backgroundGradientColors: [Color]? = nil, font: Font? = nil) -> some View {
| `- note: add @available attribute to enclosing instance method
16 | ProfilePlaceholderView(name: name, backgroundGradientColors: backgroundGradientColors, font: font)
17 | .overlay(self)
| |- error: 'overlay(_:alignment:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:16: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
13 | @available(iOS 13.0, *)
14 | public extension Image {
15 | 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'
16 | 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
17 | .overlay(self)
18 | }
:
25 | let font: Font?
26 |
27 | 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
28 | self.name = name
29 | self.backgroundGradientColors = backgroundGradientColors
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:54:25: error: 'Color' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
:
48 | }
49 |
50 | var colors: [Color] {
| `- note: add @available attribute to enclosing property
51 | if let colors = backgroundGradientColors {
52 | return colors
53 | } else {
54 | let color = Color.random
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
55 | let colors = [color, color.opacity(0.4)]
56 | return colors
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:55:40: error: 'opacity' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
:
48 | }
49 |
50 | var colors: [Color] {
| `- note: add @available attribute to enclosing property
51 | if let colors = backgroundGradientColors {
52 | return colors
53 | } else {
54 | let color = Color.random
55 | let colors = [color, color.opacity(0.4)]
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
56 | return colors
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:61:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
:
58 | }
59 |
60 | public var body: some View {
| `- note: add @available attribute to enclosing property
61 | GeometryReader { geo in
| |- error: 'GeometryReader' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
62 | ZStack {
63 | LinearGradient(gradient: Gradient(colors: colors), startPoint: .bottomTrailing, endPoint: .topLeading)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:62:13: error: 'ZStack' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
:
58 | }
59 |
60 | public var body: some View {
| `- note: add @available attribute to enclosing property
61 | GeometryReader { geo in
62 | ZStack {
| |- error: 'ZStack' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
63 | LinearGradient(gradient: Gradient(colors: colors), startPoint: .bottomTrailing, endPoint: .topLeading)
64 | Text(placeholderText)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:63:17: error: 'LinearGradient' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
:
58 | }
59 |
60 | public var body: some View {
| `- note: add @available attribute to enclosing property
61 | GeometryReader { geo in
62 | ZStack {
63 | 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
64 | Text(placeholderText)
65 | .shadow(color: Color.black.opacity(0.4), radius: 7, x: 0, y: 0)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:63:42: error: 'Gradient' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
:
58 | }
59 |
60 | public var body: some View {
| `- note: add @available attribute to enclosing property
61 | GeometryReader { geo in
62 | ZStack {
63 | 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
64 | Text(placeholderText)
65 | .shadow(color: Color.black.opacity(0.4), radius: 7, x: 0, y: 0)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:64:17: error: 'Text' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
:
58 | }
59 |
60 | public var body: some View {
| `- note: add @available attribute to enclosing property
61 | GeometryReader { geo in
62 | ZStack {
63 | LinearGradient(gradient: Gradient(colors: colors), startPoint: .bottomTrailing, endPoint: .topLeading)
64 | Text(placeholderText)
| |- error: 'Text' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
65 | .shadow(color: Color.black.opacity(0.4), radius: 7, x: 0, y: 0)
66 | .foregroundColor(.white)
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:65:22: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
:
58 | }
59 |
60 | public var body: some View {
| `- note: add @available attribute to enclosing property
61 | GeometryReader { geo in
62 | ZStack {
63 | LinearGradient(gradient: Gradient(colors: colors), startPoint: .bottomTrailing, endPoint: .topLeading)
64 | Text(placeholderText)
65 | .shadow(color: Color.black.opacity(0.4), 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
66 | .foregroundColor(.white)
67 | .font(font ?? .system(size: geo.size.width / 2.5 - 5, weight: .medium, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:65:36: error: 'Color' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
:
58 | }
59 |
60 | public var body: some View {
| `- note: add @available attribute to enclosing property
61 | GeometryReader { geo in
62 | ZStack {
63 | LinearGradient(gradient: Gradient(colors: colors), startPoint: .bottomTrailing, endPoint: .topLeading)
64 | Text(placeholderText)
65 | .shadow(color: Color.black.opacity(0.4), radius: 7, x: 0, y: 0)
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | .foregroundColor(.white)
67 | .font(font ?? .system(size: geo.size.width / 2.5 - 5, weight: .medium, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:65:42: error: 'black' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
:
58 | }
59 |
60 | public var body: some View {
| `- note: add @available attribute to enclosing property
61 | GeometryReader { geo in
62 | ZStack {
63 | LinearGradient(gradient: Gradient(colors: colors), startPoint: .bottomTrailing, endPoint: .topLeading)
64 | Text(placeholderText)
65 | .shadow(color: Color.black.opacity(0.4), radius: 7, x: 0, y: 0)
| |- error: 'black' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | .foregroundColor(.white)
67 | .font(font ?? .system(size: geo.size.width / 2.5 - 5, weight: .medium, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:65:48: error: 'opacity' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
:
58 | }
59 |
60 | public var body: some View {
| `- note: add @available attribute to enclosing property
61 | GeometryReader { geo in
62 | ZStack {
63 | LinearGradient(gradient: Gradient(colors: colors), startPoint: .bottomTrailing, endPoint: .topLeading)
64 | Text(placeholderText)
65 | .shadow(color: Color.black.opacity(0.4), radius: 7, x: 0, y: 0)
| |- error: 'opacity' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
66 | .foregroundColor(.white)
67 | .font(font ?? .system(size: geo.size.width / 2.5 - 5, weight: .medium, design: .rounded))
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:66:22: error: 'foregroundColor' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
:
58 | }
59 |
60 | public var body: some View {
| `- note: add @available attribute to enclosing property
61 | GeometryReader { geo in
62 | ZStack {
:
64 | Text(placeholderText)
65 | .shadow(color: Color.black.opacity(0.4), radius: 7, x: 0, y: 0)
66 | .foregroundColor(.white)
| |- error: 'foregroundColor' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | .font(font ?? .system(size: geo.size.width / 2.5 - 5, weight: .medium, design: .rounded))
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:66:39: error: 'white' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
:
58 | }
59 |
60 | public var body: some View {
| `- note: add @available attribute to enclosing property
61 | GeometryReader { geo in
62 | ZStack {
:
64 | Text(placeholderText)
65 | .shadow(color: Color.black.opacity(0.4), radius: 7, x: 0, y: 0)
66 | .foregroundColor(.white)
| |- error: 'white' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
67 | .font(font ?? .system(size: geo.size.width / 2.5 - 5, weight: .medium, design: .rounded))
68 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:67:22: error: 'font' is only available in macOS 10.15 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
:
58 | }
59 |
60 | public var body: some View {
| `- note: add @available attribute to enclosing property
61 | GeometryReader { geo in
62 | ZStack {
:
65 | .shadow(color: Color.black.opacity(0.4), radius: 7, x: 0, y: 0)
66 | .foregroundColor(.white)
67 | .font(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
68 | }
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:67:36: error: 'system(size:weight:design:)' is only available in macOS 13.0 or newer
20 |
21 | @available(iOS 13.0, *)
22 | public struct ProfilePlaceholderView: View {
| `- note: add @available attribute to enclosing struct
23 | let name: String
24 | let backgroundGradientColors: [Color]?
:
58 | }
59 |
60 | public var body: some View {
| `- note: add @available attribute to enclosing property
61 | GeometryReader { geo in
62 | ZStack {
:
65 | .shadow(color: Color.black.opacity(0.4), radius: 7, x: 0, y: 0)
66 | .foregroundColor(.white)
67 | .font(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
68 | }
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:84:16: error: 'Color' is only available in macOS 10.15 or newer
80 |
81 | @available(iOS 13.0, *)
82 | public extension Color {
| `- note: add @available attribute to enclosing extension
83 | static var random: Color {
| `- note: add @available attribute to enclosing static property
84 | return Color(red: .random(in: 0...1),
| |- error: 'Color' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
85 | green: .random(in: 0...1),
86 | blue: .random(in: 0...1))
/Users/admin/builder/spi-builder-workspace/Sources/ProfilePlaceholderView/ProfilePlaceholderView.swift:84:16: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
80 |
81 | @available(iOS 13.0, *)
82 | public extension Color {
| `- note: add @available attribute to enclosing extension
83 | static var random: Color {
| `- note: add @available attribute to enclosing static property
84 | 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
85 | green: .random(in: 0...1),
86 | blue: .random(in: 0...1))
BUILD FAILURE 6.0 macosSpm