The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ZoomableScrollView, reference main (887167), with Swift 6.4 for macOS (SPM) on 21 Sep 2026 04:25:41 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/insub4067/ZoomableScrollView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/insub4067/ZoomableScrollView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 887167d Disable Scroll Debounce
Cloned https://github.com/insub4067/ZoomableScrollView.git
Revision (git rev-parse @):
887167dde654a9abab7f69643a08facf8e56ec9c
SUCCESS checkout https://github.com/insub4067/ZoomableScrollView.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/insub4067/ZoomableScrollView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] ZoomableScrollView
[30 / 97]
[33 / 97]
[41 / 97]
[43 / 97]
[44 / 97]
[49 / 97]
[52 / 97]
[55 / 97]
[61 / 97]
[64 / 97]
[66 / 97]
[67 / 97]
[77 / 97]
[79 / 97]
[80 / 97]
[83 / 97]
[85 / 97]
[88 / 97] ZoomableScrollView
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:21:49: error: cannot find type 'UIScrollView' in scope
 19 |     }
 20 |
 21 |     public func makeUIView(context: Context) -> UIScrollView {
    |                                                 `- error: cannot find type 'UIScrollView' in scope
 22 |         let scrollView = setupScrollView(context: context)
 23 |         addHostedView(to: scrollView, context: context)
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:21:37: error: cannot find type 'Context' in scope
 19 |     }
 20 |
 21 |     public func makeUIView(context: Context) -> UIScrollView {
    |                                     `- error: cannot find type 'Context' in scope
 22 |         let scrollView = setupScrollView(context: context)
 23 |         addHostedView(to: scrollView, context: context)
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:28:55: error: cannot find type 'UIScrollView' in scope
 26 |     }
 27 |
 28 |     private func setupScrollView(context: Context) -> UIScrollView {
    |                                                       `- error: cannot find type 'UIScrollView' in scope
 29 |         let scrollView = UIScrollView()
 30 |         scrollView.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:28:43: error: cannot find type 'Context' in scope
 26 |     }
 27 |
 28 |     private func setupScrollView(context: Context) -> UIScrollView {
    |                                           `- error: cannot find type 'Context' in scope
 29 |         let scrollView = UIScrollView()
 30 |         scrollView.backgroundColor = .clear
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:42:47: error: cannot find type 'UIScrollView' in scope
 40 |     }
 41 |
 42 |     private func addHostedView(to scrollView: UIScrollView, context: Context) {
    |                                               `- error: cannot find type 'UIScrollView' in scope
 43 |         let hostedView = context.coordinator.hostingController.view!
 44 |         hostedView.translatesAutoresizingMaskIntoConstraints = true
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:42:70: error: cannot find type 'Context' in scope
 40 |     }
 41 |
 42 |     private func addHostedView(to scrollView: UIScrollView, context: Context) {
    |                                                                      `- error: cannot find type 'Context' in scope
 43 |         let hostedView = context.coordinator.hostingController.view!
 44 |         hostedView.translatesAutoresizingMaskIntoConstraints = true
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:51:54: error: cannot find type 'UIScrollView' in scope
 49 |     }
 50 |
 51 |     private func addGestureRecognizer(to scrollView: UIScrollView, context: Context) {
    |                                                      `- error: cannot find type 'UIScrollView' in scope
 52 |         let gestureRecognizer = UITapGestureRecognizer(
 53 |             target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:51:77: error: cannot find type 'Context' in scope
 49 |     }
 50 |
 51 |     private func addGestureRecognizer(to scrollView: UIScrollView, context: Context) {
    |                                                                             `- error: cannot find type 'Context' in scope
 52 |         let gestureRecognizer = UITapGestureRecognizer(
 53 |             target: context.coordinator,
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:69:40: error: cannot find type 'UIScrollView' in scope
 67 |     }
 68 |
 69 |     public func updateUIView(_ uiView: UIScrollView, context: Context) {
    |                                        `- error: cannot find type 'UIScrollView' in scope
 70 |         context.coordinator.hostingController.rootView = content
 71 |
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:69:63: error: cannot find type 'Context' in scope
 67 |     }
 68 |
 69 |     public func updateUIView(_ uiView: UIScrollView, context: Context) {
    |                                                               `- error: cannot find type 'Context' in scope
 70 |         context.coordinator.hostingController.rootView = content
 71 |
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:87:46: error: cannot find type 'UIScrollView' in scope
 85 |     }
 86 |
 87 |     @MainActor func zoomRect(for scrollView: UIScrollView, scale: CGFloat, center: CGPoint) -> CGRect {
    |                                              `- error: cannot find type 'UIScrollView' in scope
 88 |         let scrollViewSize = scrollView.bounds.size
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:6:50: error: cannot find type 'UIViewRepresentable' in scope
  4 | import SwiftUI
  5 |
  6 | public struct ZoomableScrollView<Content: View>: UIViewRepresentable {
    |                                                  `- error: cannot find type 'UIViewRepresentable' in scope
  7 |
  8 |     private let maxAllowedScale: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:111:32: error: cannot find type 'UIHostingController' in scope
109 |         init(
110 |             maxAllowedScale: CGFloat,
111 |             hostingController: UIHostingController<Content>,
    |                                `- error: cannot find type 'UIHostingController' in scope
112 |             scale: Binding<CGFloat>,
113 |             location: Binding<CGPoint>
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:101:41: error: cannot find type 'UIScrollViewDelegate' in scope
 99 | extension ZoomableScrollView {
100 |
101 |     public class Coordinator: NSObject, UIScrollViewDelegate {
    |                                         `- error: cannot find type 'UIScrollViewDelegate' in scope
102 |
103 |         private let maxAllowedScale: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:104:32: error: cannot find type 'UIHostingController' in scope
102 |
103 |         private let maxAllowedScale: CGFloat
104 |         var hostingController: UIHostingController<Content>
    |                                `- error: cannot find type 'UIHostingController' in scope
105 |
106 |         @Binding private var currentScale: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:121:59: error: cannot find type 'UIView' in scope
119 |         }
120 |
121 |         public func viewForZooming(in _: UIScrollView) -> UIView? {
    |                                                           `- error: cannot find type 'UIView' in scope
122 |             hostingController.view
123 |         }
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:121:42: error: cannot find type 'UIScrollView' in scope
119 |         }
120 |
121 |         public func viewForZooming(in _: UIScrollView) -> UIView? {
    |                                          `- error: cannot find type 'UIScrollView' in scope
122 |             hostingController.view
123 |         }
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:125:48: error: cannot find type 'UIScrollView' in scope
123 |         }
124 |
125 |         public func scrollViewDidEndZooming(_: UIScrollView, with _: UIView?, atScale scale: CGFloat) {
    |                                                `- error: cannot find type 'UIScrollView' in scope
126 |             DispatchQueue.main.async { self.currentScale = scale }
127 |         }
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:125:70: error: cannot find type 'UIView' in scope
123 |         }
124 |
125 |         public func scrollViewDidEndZooming(_: UIScrollView, with _: UIView?, atScale scale: CGFloat) {
    |                                                                      `- error: cannot find type 'UIView' in scope
126 |             DispatchQueue.main.async { self.currentScale = scale }
127 |         }
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:129:44: error: cannot find type 'UITapGestureRecognizer' in scope
127 |         }
128 |
129 |         @objc func handleDoubleTap(sender: UITapGestureRecognizer) {
    |                                            `- error: cannot find type 'UITapGestureRecognizer' in scope
130 |             let location = sender.location(in: hostingController.view)
131 |             DispatchQueue.main.async {
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView-t.build/Objects-normal/arm64/ZoomableScrollView-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ZoomableScrollView -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView-t.build/Objects-normal/arm64/ZoomableScrollView_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView-t.build/Objects-normal/arm64/ZoomableScrollView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView-t.build/Objects-normal/arm64/ZoomableScrollView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView-t.build/Objects-normal/arm64/ZoomableScrollView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView-t.build/Objects-normal/arm64/ZoomableScrollView-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView-t.build/Objects-normal/arm64/ZoomableScrollView-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView-t.build/Objects-normal/arm64/ZoomableScrollView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView-t.build/Objects-normal/arm64/ZoomableScrollView.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm