Build Information
Failed to build SwiftUIPullToRefresh, reference 0.0.1 (07a483), with Swift 6.2 for macOS (SPM) on 21 Jun 2025 17:25:55 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/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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/tnrvrd/SwiftUIPullToRefresh.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
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: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.2 macosSpm