Build Information
Failed to build ZoomableScrollView, reference 1.0.4 (887167
), with Swift 5.8 for macOS (Xcode) using Xcode 14.3 on 5 Sep 2024 21:32:17 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ZoomableScrollView -destination platform=macOS,arch=arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/insub4067/ZoomableScrollView.git
Reference: 1.0.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/insub4067/ZoomableScrollView
* tag 1.0.4 -> FETCH_HEAD
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 1.0.4
========================================
Build
========================================
Selected platform: macosXcodebuild
Swift version: 5.8
Building package at path: $PWD
https://github.com/insub4067/ZoomableScrollView.git
Command line invocation:
/Applications/Xcode-14.3.1.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
ZoomableScrollView: /Users/admin/builder/spi-builder-workspace
resolved source packages: ZoomableScrollView
2024-09-05 17:31:57.235 xcodebuild[469:2526] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
{
"dependencies" : [
],
"manifest_display_name" : "ZoomableScrollView",
"name" : "ZoomableScrollView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "ZoomableScrollView",
"targets" : [
"ZoomableScrollView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ZoomableScrollView",
"module_type" : "SwiftTarget",
"name" : "ZoomableScrollView",
"path" : "Sources/ZoomableScrollView",
"product_memberships" : [
"ZoomableScrollView"
],
"sources" : [
"ZoomableScrollView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"ZoomableScrollView"
]
}
}
2024-09-05 17:32:08.183 xcodebuild[531:2900] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme ZoomableScrollView -destination platform=macOS,arch=arm64
Command line invocation:
/Applications/Xcode-14.3.1.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme ZoomableScrollView -destination platform=macOS,arch=arm64
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
ZoomableScrollView: /Users/admin/builder/spi-builder-workspace
Prepare packages
Computing target dependency graph and provisioning inputs
Create build description
Build description signature: 122b5d6e0fecaff6c341d4adbd5a59df
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/122b5d6e0fecaff6c341d4adbd5a59df.xcbuilddata
note: Building targets in dependency order
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
ClangStatCache /Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx13.3-22E245-.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx13.3-22E245-.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/ZoomableScrollView.modulemap (in target 'ZoomableScrollView' from project 'ZoomableScrollView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/ZoomableScrollView.modulemap
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/ZoomableScrollView.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/ZoomableScrollView.modulemap (in target 'ZoomableScrollView' from project 'ZoomableScrollView')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/ZoomableScrollView.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView-OutputFileMap.json (in target 'ZoomableScrollView' from project 'ZoomableScrollView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.LinkFileList (in target 'ZoomableScrollView' from project 'ZoomableScrollView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.SwiftFileList (in target 'ZoomableScrollView' from project 'ZoomableScrollView')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.SwiftFileList
SwiftDriver ZoomableScrollView normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ZoomableScrollView' from project 'ZoomableScrollView')
cd /Users/admin/builder/spi-builder-workspace
builtin-SwiftDriver -- /Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name ZoomableScrollView -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -sdk /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -target arm64-apple-macos10.13 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx13.3-22E245-.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.swiftmodule -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ ZoomableScrollView (in target 'ZoomableScrollView' from project 'ZoomableScrollView')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Applications/Xcode-14.3.1.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-macos10.13 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -empty-abi-descriptor -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx13.3-22E245-.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name ZoomableScrollView -disable-clang-spi -target-sdk-version 13.3 -target-sdk-name macosx13.3 -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.abi.json
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:6:50: error: cannot find type 'UIViewRepresentable' in scope
public struct ZoomableScrollView<Content: View>: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:10:6: error: 'State' is only available in macOS 10.15 or newer
@State private var currentScale: CGFloat = 1.0
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ZoomableScrollView<Content: View>: UIViewRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:11:6: error: 'State' is only available in macOS 10.15 or newer
@State private var tapLocation: CGPoint = .zero
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ZoomableScrollView<Content: View>: UIViewRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:15:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: () -> Content
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:13:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ZoomableScrollView<Content: View>: UIViewRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:21:49: error: cannot find type 'UIScrollView' in scope
public func makeUIView(context: Context) -> UIScrollView {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:21:37: error: cannot find type 'Context' in scope
public func makeUIView(context: Context) -> UIScrollView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:28:55: error: cannot find type 'UIScrollView' in scope
private func setupScrollView(context: Context) -> UIScrollView {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:28:43: error: cannot find type 'Context' in scope
private func setupScrollView(context: Context) -> UIScrollView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:42:47: error: cannot find type 'UIScrollView' in scope
private func addHostedView(to scrollView: UIScrollView, context: Context) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:42:70: error: cannot find type 'Context' in scope
private func addHostedView(to scrollView: UIScrollView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:51:54: error: cannot find type 'UIScrollView' in scope
private func addGestureRecognizer(to scrollView: UIScrollView, context: Context) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:51:77: error: cannot find type 'Context' in scope
private func addGestureRecognizer(to scrollView: UIScrollView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:69:40: error: cannot find type 'UIScrollView' in scope
public func updateUIView(_ uiView: UIScrollView, context: Context) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:69:63: error: cannot find type 'Context' in scope
public func updateUIView(_ uiView: UIScrollView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:87:46: error: cannot find type 'UIScrollView' in scope
@MainActor func zoomRect(for scrollView: UIScrollView, scale: CGFloat, center: CGPoint) -> CGRect {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:6:43: error: 'View' is only available in macOS 10.15 or newer
public struct ZoomableScrollView<Content: View>: UIViewRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ZoomableScrollView<Content: View>: UIViewRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:101:41: error: cannot find type 'UIScrollViewDelegate' in scope
public class Coordinator: NSObject, UIScrollViewDelegate {
^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:111:32: error: cannot find type 'UIHostingController' in scope
hostingController: UIHostingController<Content>,
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:104:32: error: cannot find type 'UIHostingController' in scope
var hostingController: UIHostingController<Content>
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:106:10: error: 'Binding' is only available in macOS 10.15 or newer
@Binding private var currentScale: CGFloat
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:101:18: note: add @available attribute to enclosing class
public class Coordinator: NSObject, UIScrollViewDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:101:18: note: add @available attribute to enclosing class
public class Coordinator: NSObject, UIScrollViewDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:107:10: error: 'Binding' is only available in macOS 10.15 or newer
@Binding private var tapLocation: CGPoint
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:101:18: note: add @available attribute to enclosing class
public class Coordinator: NSObject, UIScrollViewDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:101:18: note: add @available attribute to enclosing class
public class Coordinator: NSObject, UIScrollViewDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:112:20: error: 'Binding' is only available in macOS 10.15 or newer
scale: Binding<CGFloat>,
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:109:9: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:101:18: note: add @available attribute to enclosing class
public class Coordinator: NSObject, UIScrollViewDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:113:23: error: 'Binding' is only available in macOS 10.15 or newer
location: Binding<CGPoint>
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:109:9: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:101:18: note: add @available attribute to enclosing class
public class Coordinator: NSObject, UIScrollViewDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:121:59: error: cannot find type 'UIView' in scope
public func viewForZooming(in _: UIScrollView) -> UIView? {
^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:121:42: error: cannot find type 'UIScrollView' in scope
public func viewForZooming(in _: UIScrollView) -> UIView? {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:125:48: error: cannot find type 'UIScrollView' in scope
public func scrollViewDidEndZooming(_: UIScrollView, with _: UIView?, atScale scale: CGFloat) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:125:70: error: cannot find type 'UIView' in scope
public func scrollViewDidEndZooming(_: UIScrollView, with _: UIView?, atScale scale: CGFloat) {
^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:129:44: error: cannot find type 'UITapGestureRecognizer' in scope
@objc func handleDoubleTap(sender: UITapGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~
SwiftCompile normal arm64 Compiling\ ZoomableScrollView.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift (in target 'ZoomableScrollView' from project 'ZoomableScrollView')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.d -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.dia -target arm64-apple-macos10.13 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -empty-abi-descriptor -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx13.3-22E245-.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name ZoomableScrollView -frontend-parseable-output -disable-clang-spi -target-sdk-version 13.3 -target-sdk-name macosx13.3 -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.o -index-unit-output-path /ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift (in target 'ZoomableScrollView' from project 'ZoomableScrollView')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.d -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.dia -target arm64-apple-macos10.13 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -empty-abi-descriptor -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx13.3-22E245-.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name ZoomableScrollView -frontend-parseable-output -disable-clang-spi -target-sdk-version 13.3 -target-sdk-name macosx13.3 -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.o -index-unit-output-path /ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
Resolve Package Graph
2024-09-05 17:32:08.847 xcodebuild[532:2939] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0000FE00-13D622F2AD547C02 }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-13D622F2AD547C02 }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0000FE00-13D622F2AD547C02 }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-13D622F2AD547C02 }
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ ZoomableScrollView (in target 'ZoomableScrollView' from project 'ZoomableScrollView')
(1 failure)
Command line invocation:
/Applications/Xcode-14.3.1.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme ZoomableScrollView -destination platform=macOS,arch=arm64
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
ZoomableScrollView: /Users/admin/builder/spi-builder-workspace
Prepare packages
Computing target dependency graph and provisioning inputs
Create build description
note: Building targets in dependency order
ClangStatCache /Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx13.3-22E245-.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx13.3-22E245-.sdkstatcache
SwiftDriver ZoomableScrollView normal arm64 com.apple.xcode.tools.swift.compiler (in target 'ZoomableScrollView' from project 'ZoomableScrollView')
cd /Users/admin/builder/spi-builder-workspace
builtin-SwiftDriver -- /Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name ZoomableScrollView -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -sdk /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -target arm64-apple-macos10.13 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx13.3-22E245-.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.swiftmodule -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ ZoomableScrollView (in target 'ZoomableScrollView' from project 'ZoomableScrollView')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Applications/Xcode-14.3.1.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-macos10.13 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -empty-abi-descriptor -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx13.3-22E245-.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name ZoomableScrollView -disable-clang-spi -target-sdk-version 13.3 -target-sdk-name macosx13.3 -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.abi.json
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:6:50: error: cannot find type 'UIViewRepresentable' in scope
public struct ZoomableScrollView<Content: View>: UIViewRepresentable {
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:10:6: error: 'State' is only available in macOS 10.15 or newer
@State private var currentScale: CGFloat = 1.0
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ZoomableScrollView<Content: View>: UIViewRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:11:6: error: 'State' is only available in macOS 10.15 or newer
@State private var tapLocation: CGPoint = .zero
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ZoomableScrollView<Content: View>: UIViewRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:15:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
@ViewBuilder content: () -> Content
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:13:12: note: add @available attribute to enclosing initializer
public init(
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ZoomableScrollView<Content: View>: UIViewRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:21:49: error: cannot find type 'UIScrollView' in scope
public func makeUIView(context: Context) -> UIScrollView {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:21:37: error: cannot find type 'Context' in scope
public func makeUIView(context: Context) -> UIScrollView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:28:55: error: cannot find type 'UIScrollView' in scope
private func setupScrollView(context: Context) -> UIScrollView {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:28:43: error: cannot find type 'Context' in scope
private func setupScrollView(context: Context) -> UIScrollView {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:42:47: error: cannot find type 'UIScrollView' in scope
private func addHostedView(to scrollView: UIScrollView, context: Context) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:42:70: error: cannot find type 'Context' in scope
private func addHostedView(to scrollView: UIScrollView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:51:54: error: cannot find type 'UIScrollView' in scope
private func addGestureRecognizer(to scrollView: UIScrollView, context: Context) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:51:77: error: cannot find type 'Context' in scope
private func addGestureRecognizer(to scrollView: UIScrollView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:69:40: error: cannot find type 'UIScrollView' in scope
public func updateUIView(_ uiView: UIScrollView, context: Context) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:69:63: error: cannot find type 'Context' in scope
public func updateUIView(_ uiView: UIScrollView, context: Context) {
^~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:87:46: error: cannot find type 'UIScrollView' in scope
@MainActor func zoomRect(for scrollView: UIScrollView, scale: CGFloat, center: CGPoint) -> CGRect {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:6:43: error: 'View' is only available in macOS 10.15 or newer
public struct ZoomableScrollView<Content: View>: UIViewRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:6:15: note: add @available attribute to enclosing generic struct
public struct ZoomableScrollView<Content: View>: UIViewRepresentable {
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:101:41: error: cannot find type 'UIScrollViewDelegate' in scope
public class Coordinator: NSObject, UIScrollViewDelegate {
^~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:111:32: error: cannot find type 'UIHostingController' in scope
hostingController: UIHostingController<Content>,
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:104:32: error: cannot find type 'UIHostingController' in scope
var hostingController: UIHostingController<Content>
^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:106:10: error: 'Binding' is only available in macOS 10.15 or newer
@Binding private var currentScale: CGFloat
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:101:18: note: add @available attribute to enclosing class
public class Coordinator: NSObject, UIScrollViewDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:101:18: note: add @available attribute to enclosing class
public class Coordinator: NSObject, UIScrollViewDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:107:10: error: 'Binding' is only available in macOS 10.15 or newer
@Binding private var tapLocation: CGPoint
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:101:18: note: add @available attribute to enclosing class
public class Coordinator: NSObject, UIScrollViewDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:101:18: note: add @available attribute to enclosing class
public class Coordinator: NSObject, UIScrollViewDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:112:20: error: 'Binding' is only available in macOS 10.15 or newer
scale: Binding<CGFloat>,
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:109:9: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:101:18: note: add @available attribute to enclosing class
public class Coordinator: NSObject, UIScrollViewDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:113:23: error: 'Binding' is only available in macOS 10.15 or newer
location: Binding<CGPoint>
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:109:9: note: add @available attribute to enclosing initializer
init(
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:101:18: note: add @available attribute to enclosing class
public class Coordinator: NSObject, UIScrollViewDelegate {
^
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:121:59: error: cannot find type 'UIView' in scope
public func viewForZooming(in _: UIScrollView) -> UIView? {
^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:121:42: error: cannot find type 'UIScrollView' in scope
public func viewForZooming(in _: UIScrollView) -> UIView? {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:125:48: error: cannot find type 'UIScrollView' in scope
public func scrollViewDidEndZooming(_: UIScrollView, with _: UIView?, atScale scale: CGFloat) {
^~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:125:70: error: cannot find type 'UIView' in scope
public func scrollViewDidEndZooming(_: UIScrollView, with _: UIView?, atScale scale: CGFloat) {
^~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift:129:44: error: cannot find type 'UITapGestureRecognizer' in scope
@objc func handleDoubleTap(sender: UITapGestureRecognizer) {
^~~~~~~~~~~~~~~~~~~~~~
SwiftCompile normal arm64 Compiling\ ZoomableScrollView.swift /Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift (in target 'ZoomableScrollView' from project 'ZoomableScrollView')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftTaskExecution -- /Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.d -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.dia -target arm64-apple-macos10.13 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -empty-abi-descriptor -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx13.3-22E245-.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name ZoomableScrollView -frontend-parseable-output -disable-clang-spi -target-sdk-version 13.3 -target-sdk-name macosx13.3 -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.o -index-unit-output-path /ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift (in target 'ZoomableScrollView' from project 'ZoomableScrollView')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/ZoomableScrollView/ZoomableScrollView.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.d -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.dia -target arm64-apple-macos10.13 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -I /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -F /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -empty-abi-descriptor -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -resource-dir /Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx13.3-22E245-.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name ZoomableScrollView -frontend-parseable-output -disable-clang-spi -target-sdk-version 13.3 -target-sdk-name macosx13.3 -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.o -index-unit-output-path /ZoomableScrollView.build/Debug/ZoomableScrollView.build/Objects-normal/arm64/ZoomableScrollView.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
2024-09-05 17:32:17.254 xcodebuild[552:3110] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:0000FE00-13D622F2AD547C02 }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:0000FE00-13D622F2AD547C02 }
{ platform:macOS, arch:arm64, variant:DriverKit, id:0000FE00-13D622F2AD547C02 }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:0000FE00-13D622F2AD547C02 }
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ ZoomableScrollView (in target 'ZoomableScrollView' from project 'ZoomableScrollView')
(1 failure)
BUILD FAILURE 5.8 macosXcodebuild