Build Information
Failed to build SwiftUIPullToRefresh, reference 0.0.1 (07a483), with Swift 6.3 for macOS (SPM) on 14 Apr 2026 17:49:28 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tnrvrd/SwiftUIPullToRefresh.git
Reference: 0.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tnrvrd/SwiftUIPullToRefresh
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at 07a483d Merge pull request #1 from muhammedtanriverdi/add-license-1
Cloned https://github.com/tnrvrd/SwiftUIPullToRefresh.git
Revision (git rev-parse @):
07a483dff176bf44a70c9f0e8bc19afde1b92421
SUCCESS checkout https://github.com/tnrvrd/SwiftUIPullToRefresh.git at 0.0.1
========================================
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",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swiftuipulltorefresh",
"name": "SwiftUIPullToRefresh",
"url": "https://github.com/tnrvrd/SwiftUIPullToRefresh.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUIPullToRefresh",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/tnrvrd/SwiftUIPullToRefresh.git
[1/58] Fetching swiftuipulltorefresh
Fetched https://github.com/tnrvrd/SwiftUIPullToRefresh.git from cache (0.64s)
Creating working copy for https://github.com/tnrvrd/SwiftUIPullToRefresh.git
Working copy of https://github.com/tnrvrd/SwiftUIPullToRefresh.git resolved at 0.0.1 (07a483d)
warning: '.resolve-product-dependencies': dependency 'swiftuipulltorefresh' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/tnrvrd/SwiftUIPullToRefresh.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module SwiftUIPullToRefresh
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:36:90: error: cannot find type 'UIView' in scope
34 | }
35 |
36 | public func makeUIView(context: UIViewRepresentableContext<SwiftUIPullToRefresh>) -> UIView {
| `- error: cannot find type 'UIView' in scope
37 | return UIView(frame: .zero)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:36:37: error: cannot find type 'UIViewRepresentableContext' in scope
34 | }
35 |
36 | public func makeUIView(context: UIViewRepresentableContext<SwiftUIPullToRefresh>) -> UIView {
| `- error: cannot find type 'UIViewRepresentableContext' in scope
37 | return UIView(frame: .zero)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:40:46: error: cannot find type 'UIScrollView' in scope
38 | }
39 |
40 | private func scrollView(root: UIView) -> UIScrollView? {
| `- error: cannot find type 'UIScrollView' in scope
41 | for subview in root.subviews {
42 | if let scrollView = subview as? UIScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:40:35: error: cannot find type 'UIView' in scope
38 | }
39 |
40 | private func scrollView(root: UIView) -> UIScrollView? {
| `- error: cannot find type 'UIView' in scope
41 | for subview in root.subviews {
42 | if let scrollView = subview as? UIScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:52:40: error: cannot find type 'UIView' in scope
50 |
51 |
52 | public func updateUIView(_ uiView: UIView, context: UIViewRepresentableContext<SwiftUIPullToRefresh>) {
| `- error: cannot find type 'UIView' in scope
53 |
54 | DispatchQueue.main.asyncAfter(deadline: .now()) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:52:57: error: cannot find type 'UIViewRepresentableContext' in scope
50 |
51 |
52 | public func updateUIView(_ uiView: UIView, context: UIViewRepresentableContext<SwiftUIPullToRefresh>) {
| `- error: cannot find type 'UIViewRepresentableContext' in scope
53 |
54 | DispatchQueue.main.asyncAfter(deadline: .now()) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:4:37: error: cannot find type 'UIViewRepresentable' in scope
2 |
3 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
4 | public struct SwiftUIPullToRefresh: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
5 |
6 | let action: () -> Void
[4/4] Compiling SwiftUIPullToRefresh SwiftUIPullToRefresh.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:36:90: error: cannot find type 'UIView' in scope
34 | }
35 |
36 | public func makeUIView(context: UIViewRepresentableContext<SwiftUIPullToRefresh>) -> UIView {
| `- error: cannot find type 'UIView' in scope
37 | return UIView(frame: .zero)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:36:37: error: cannot find type 'UIViewRepresentableContext' in scope
34 | }
35 |
36 | public func makeUIView(context: UIViewRepresentableContext<SwiftUIPullToRefresh>) -> UIView {
| `- error: cannot find type 'UIViewRepresentableContext' in scope
37 | return UIView(frame: .zero)
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:40:46: error: cannot find type 'UIScrollView' in scope
38 | }
39 |
40 | private func scrollView(root: UIView) -> UIScrollView? {
| `- error: cannot find type 'UIScrollView' in scope
41 | for subview in root.subviews {
42 | if let scrollView = subview as? UIScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:40:35: error: cannot find type 'UIView' in scope
38 | }
39 |
40 | private func scrollView(root: UIView) -> UIScrollView? {
| `- error: cannot find type 'UIView' in scope
41 | for subview in root.subviews {
42 | if let scrollView = subview as? UIScrollView {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:52:40: error: cannot find type 'UIView' in scope
50 |
51 |
52 | public func updateUIView(_ uiView: UIView, context: UIViewRepresentableContext<SwiftUIPullToRefresh>) {
| `- error: cannot find type 'UIView' in scope
53 |
54 | DispatchQueue.main.asyncAfter(deadline: .now()) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:52:57: error: cannot find type 'UIViewRepresentableContext' in scope
50 |
51 |
52 | public func updateUIView(_ uiView: UIView, context: UIViewRepresentableContext<SwiftUIPullToRefresh>) {
| `- error: cannot find type 'UIViewRepresentableContext' in scope
53 |
54 | DispatchQueue.main.asyncAfter(deadline: .now()) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:4:37: error: cannot find type 'UIViewRepresentable' in scope
2 |
3 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
4 | public struct SwiftUIPullToRefresh: UIViewRepresentable {
| `- error: cannot find type 'UIViewRepresentable' in scope
5 |
6 | let action: () -> Void
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:37:16: error: cannot find 'UIView' in scope
35 |
36 | public func makeUIView(context: UIViewRepresentableContext<SwiftUIPullToRefresh>) -> UIView {
37 | return UIView(frame: .zero)
| `- error: cannot find 'UIView' in scope
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:37:31: error: cannot infer contextual base in reference to member 'zero'
35 |
36 | public func makeUIView(context: UIViewRepresentableContext<SwiftUIPullToRefresh>) -> UIView {
37 | return UIView(frame: .zero)
| `- error: cannot infer contextual base in reference to member 'zero'
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:42:45: error: cannot find type 'UIScrollView' in scope
40 | private func scrollView(root: UIView) -> UIScrollView? {
41 | for subview in root.subviews {
42 | if let scrollView = subview as? UIScrollView {
| `- error: cannot find type 'UIScrollView' in scope
43 | return scrollView
44 | } else if let scrollView = scrollView(root: subview) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPullToRefresh/SwiftUIPullToRefresh.swift:71:34: error: cannot find 'UIRefreshControl' in scope
69 | }
70 |
71 | let refreshControl = UIRefreshControl()
| `- error: cannot find 'UIRefreshControl' in scope
72 | refreshControl.addTarget(context.coordinator, action: #selector(Coordinator.onValueChanged), for: .valueChanged)
73 | scrollView.refreshControl = refreshControl
BUILD FAILURE 6.3 macosSpm