Build Information
Failed to build ImageWithActivityIndicator, reference 1.0.5 (19dd89), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 01:25:49 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aliadam/imagewithactivityindicator.git
Reference: 1.0.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/aliadam/imagewithactivityindicator
* tag 1.0.5 -> FETCH_HEAD
HEAD is now at 19dd89d add showActivityIndicator parameter to control showing indicator or not
Cloned https://github.com/aliadam/imagewithactivityindicator.git
Revision (git rev-parse @):
19dd89dee4ca498153d7a4bb412a5d917b57915f
SUCCESS checkout https://github.com/aliadam/imagewithactivityindicator.git at 1.0.5
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/aliadam/imagewithactivityindicator.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/6] Compiling ImageWithActivityIndicator ImageWithActivityIndicator.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ImageWithActivityIndicator.swift:15:24: error: cannot find type 'UIActivityIndicatorView' in scope
13 | public struct ImageWithActivityIndicator : View {
14 |
15 | private let style: UIActivityIndicatorView.Style = .medium
| `- error: cannot find type 'UIActivityIndicatorView' in scope
16 | private let placeHolder:String
17 | private let imageURL:String
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ImageWithActivityIndicator.swift:20:6: error: unknown attribute 'ObjectBinding'
18 | private let showActivityIndicator:Bool
19 |
20 | @ObjectBinding private var imageLoader:ImageLoader
| `- error: unknown attribute 'ObjectBinding'
21 |
22 |
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ImageWithActivityIndicator.swift:29:27: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public struct ImageWithActivityIndicator : View {
| `- note: add @available attribute to enclosing struct
14 |
15 | private let style: UIActivityIndicatorView.Style = .medium
:
27 | self.showActivityIndicator = showActivityIndicator
28 | }
29 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
30 | ZStack(){
31 | if (imageLoader.data.isEmpty ) {
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ImageWithActivityIndicator.swift:64:31: error: 'View' is only available in macOS 10.15 or newer
60 |
61 | #if DEBUG
62 | struct ImageWithActivityIndicator_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
63 | @available(iOS 13.0, *)
64 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
65 | ImageWithActivityIndicator(imageURL: "", placeHolder: "")
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ImageWithActivityIndicator.swift:44:36: error: cannot find 'UIImage' in scope
42 | else{
43 |
44 | Image(uiImage: UIImage(data:self.imageLoader.data) ?? UIImage(named:placeHolder) ?? UIImage())
| `- error: cannot find 'UIImage' in scope
45 | }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ImageWithActivityIndicator.swift:44:75: error: cannot find 'UIImage' in scope
42 | else{
43 |
44 | Image(uiImage: UIImage(data:self.imageLoader.data) ?? UIImage(named:placeHolder) ?? UIImage())
| `- error: cannot find 'UIImage' in scope
45 | }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ImageWithActivityIndicator.swift:44:105: error: cannot find 'UIImage' in scope
42 | else{
43 |
44 | Image(uiImage: UIImage(data:self.imageLoader.data) ?? UIImage(named:placeHolder) ?? UIImage())
| `- error: cannot find 'UIImage' in scope
45 | }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ActivityIndicator.swift:12:16: error: cannot find type 'UIActivityIndicatorView' in scope
10 | public struct ActivityIndicator: UIViewRepresentable {
11 |
12 | let style: UIActivityIndicatorView.Style
| `- error: cannot find type 'UIActivityIndicatorView' in scope
13 |
14 | public func makeUIView(context: UIViewRepresentableContext<ActivityIndicator>) -> UIActivityIndicatorView {
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ImageWithActivityIndicator.swift:39:51: error: cannot infer contextual base in reference to member 'large'
37 |
38 | if showActivityIndicator {
39 | ActivityIndicator(style: .large)
| `- error: cannot infer contextual base in reference to member 'large'
40 | }
41 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Emitting module ImageWithActivityIndicator
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ActivityIndicator.swift:12:16: error: cannot find type 'UIActivityIndicatorView' in scope
10 | public struct ActivityIndicator: UIViewRepresentable {
11 |
12 | let style: UIActivityIndicatorView.Style
| `- error: cannot find type 'UIActivityIndicatorView' in scope
13 |
14 | public func makeUIView(context: UIViewRepresentableContext<ActivityIndicator>) -> UIActivityIndicatorView {
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ActivityIndicator.swift:14:87: error: cannot find type 'UIActivityIndicatorView' in scope
12 | let style: UIActivityIndicatorView.Style
13 |
14 | public func makeUIView(context: UIViewRepresentableContext<ActivityIndicator>) -> UIActivityIndicatorView {
| `- error: cannot find type 'UIActivityIndicatorView' in scope
15 | return UIActivityIndicatorView(style: style)
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ActivityIndicator.swift:14:37: error: cannot find type 'UIViewRepresentableContext' in scope
12 | let style: UIActivityIndicatorView.Style
13 |
14 | public func makeUIView(context: UIViewRepresentableContext<ActivityIndicator>) -> UIActivityIndicatorView {
| `- error: cannot find type 'UIViewRepresentableContext' in scope
15 | return UIActivityIndicatorView(style: style)
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ActivityIndicator.swift:18:40: error: cannot find type 'UIActivityIndicatorView' in scope
16 | }
17 |
18 | public func updateUIView(_ uiView: UIActivityIndicatorView, context: UIViewRepresentableContext<ActivityIndicator>) {
| `- error: cannot find type 'UIActivityIndicatorView' in scope
19 | uiView.startAnimating()
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ActivityIndicator.swift:18:74: error: cannot find type 'UIViewRepresentableContext' in scope
16 | }
17 |
18 | public func updateUIView(_ uiView: UIActivityIndicatorView, context: UIViewRepresentableContext<ActivityIndicator>) {
| `- error: cannot find type 'UIViewRepresentableContext' in scope
19 | uiView.startAnimating()
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ActivityIndicator.swift:10:34: error: cannot find type 'UIViewRepresentable' in scope
8 | import SwiftUI
9 |
10 | public struct ActivityIndicator: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
11 |
12 | let style: UIActivityIndicatorView.Style
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ImageLoader.swift:15:28: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public class ImageLoader :BindableObject {
| `- note: add @available attribute to enclosing class
14 |
15 | public var didChange = PassthroughSubject<Data,Never>()
| `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ImageLoader.swift:13:27: error: cannot find type 'BindableObject' in scope
11 |
12 | @available(iOS 13.0, *)
13 | public class ImageLoader :BindableObject {
| `- error: cannot find type 'BindableObject' in scope
14 |
15 | public var didChange = PassthroughSubject<Data,Never>()
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ImageWithActivityIndicator.swift:15:24: error: cannot find type 'UIActivityIndicatorView' in scope
13 | public struct ImageWithActivityIndicator : View {
14 |
15 | private let style: UIActivityIndicatorView.Style = .medium
| `- error: cannot find type 'UIActivityIndicatorView' in scope
16 | private let placeHolder:String
17 | private let imageURL:String
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ImageWithActivityIndicator.swift:20:6: error: unknown attribute 'ObjectBinding'
18 | private let showActivityIndicator:Bool
19 |
20 | @ObjectBinding private var imageLoader:ImageLoader
| `- error: unknown attribute 'ObjectBinding'
21 |
22 |
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ImageWithActivityIndicator.swift:29:27: error: 'View' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public struct ImageWithActivityIndicator : View {
| `- note: add @available attribute to enclosing struct
14 |
15 | private let style: UIActivityIndicatorView.Style = .medium
:
27 | self.showActivityIndicator = showActivityIndicator
28 | }
29 | public var body: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
30 | ZStack(){
31 | if (imageLoader.data.isEmpty ) {
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ImageWithActivityIndicator.swift:64:31: error: 'View' is only available in macOS 10.15 or newer
60 |
61 | #if DEBUG
62 | struct ImageWithActivityIndicator_Previews: PreviewProvider {
| `- note: add @available attribute to enclosing struct
63 | @available(iOS 13.0, *)
64 | static var previews: some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
65 | ImageWithActivityIndicator(imageURL: "", placeHolder: "")
66 | }
[5/6] Compiling ImageWithActivityIndicator ActivityIndicator.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ActivityIndicator.swift:12:16: error: cannot find type 'UIActivityIndicatorView' in scope
10 | public struct ActivityIndicator: UIViewRepresentable {
11 |
12 | let style: UIActivityIndicatorView.Style
| `- error: cannot find type 'UIActivityIndicatorView' in scope
13 |
14 | public func makeUIView(context: UIViewRepresentableContext<ActivityIndicator>) -> UIActivityIndicatorView {
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ActivityIndicator.swift:14:87: error: cannot find type 'UIActivityIndicatorView' in scope
12 | let style: UIActivityIndicatorView.Style
13 |
14 | public func makeUIView(context: UIViewRepresentableContext<ActivityIndicator>) -> UIActivityIndicatorView {
| `- error: cannot find type 'UIActivityIndicatorView' in scope
15 | return UIActivityIndicatorView(style: style)
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ActivityIndicator.swift:14:37: error: cannot find type 'UIViewRepresentableContext' in scope
12 | let style: UIActivityIndicatorView.Style
13 |
14 | public func makeUIView(context: UIViewRepresentableContext<ActivityIndicator>) -> UIActivityIndicatorView {
| `- error: cannot find type 'UIViewRepresentableContext' in scope
15 | return UIActivityIndicatorView(style: style)
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ActivityIndicator.swift:18:40: error: cannot find type 'UIActivityIndicatorView' in scope
16 | }
17 |
18 | public func updateUIView(_ uiView: UIActivityIndicatorView, context: UIViewRepresentableContext<ActivityIndicator>) {
| `- error: cannot find type 'UIActivityIndicatorView' in scope
19 | uiView.startAnimating()
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ActivityIndicator.swift:18:74: error: cannot find type 'UIViewRepresentableContext' in scope
16 | }
17 |
18 | public func updateUIView(_ uiView: UIActivityIndicatorView, context: UIViewRepresentableContext<ActivityIndicator>) {
| `- error: cannot find type 'UIViewRepresentableContext' in scope
19 | uiView.startAnimating()
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ActivityIndicator.swift:10:34: error: cannot find type 'UIViewRepresentable' in scope
8 | import SwiftUI
9 |
10 | public struct ActivityIndicator: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
11 |
12 | let style: UIActivityIndicatorView.Style
[6/6] Compiling ImageWithActivityIndicator ImageLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ImageLoader.swift:15:28: error: 'PassthroughSubject' is only available in macOS 10.15 or newer
11 |
12 | @available(iOS 13.0, *)
13 | public class ImageLoader :BindableObject {
| `- note: add @available attribute to enclosing class
14 |
15 | public var didChange = PassthroughSubject<Data,Never>()
| `- error: 'PassthroughSubject' is only available in macOS 10.15 or newer
16 |
17 |
/Users/admin/builder/spi-builder-workspace/Sources/ImageWithActivityIndicator/ImageLoader.swift:13:27: error: cannot find type 'BindableObject' in scope
11 |
12 | @available(iOS 13.0, *)
13 | public class ImageLoader :BindableObject {
| `- error: cannot find type 'BindableObject' in scope
14 |
15 | public var didChange = PassthroughSubject<Data,Never>()
BUILD FAILURE 6.2 macosSpm