Build Information
Failed to build PresentView, reference 1.1.5 (8bd61e), with Swift 6.3 for macOS (SPM) on 24 Apr 2026 13:25:15 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/jokerphuongnam/PresentView.git
Reference: 1.1.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jokerphuongnam/PresentView
* tag 1.1.5 -> FETCH_HEAD
HEAD is now at 8bd61e8 release: patch (#21)
Cloned https://github.com/jokerphuongnam/PresentView.git
Revision (git rev-parse @):
8bd61e841a75ab65b95878ed8b3a94816e5bd450
SUCCESS checkout https://github.com/jokerphuongnam/PresentView.git at 1.1.5
========================================
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": "presentview",
"name": "PresentView",
"url": "https://github.com/jokerphuongnam/PresentView.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PresentView",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/jokerphuongnam/PresentView.git
[1/232] Fetching presentview
Fetched https://github.com/jokerphuongnam/PresentView.git from cache (0.78s)
Creating working copy for https://github.com/jokerphuongnam/PresentView.git
Working copy of https://github.com/jokerphuongnam/PresentView.git resolved at 1.1.5 (8bd61e8)
warning: '.resolve-product-dependencies': dependency 'presentview' 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/jokerphuongnam/PresentView.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
[3/11] Compiling PresentView View+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/PresentView/View+Utils.swift:6:13: error: 'onGeometryChange(for:of:action:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add '@available' attribute to enclosing extension
4 | @ViewBuilder @MainActor @preconcurrency public func getFrame(frame: Binding<CGRect>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
5 | if #available(iOS 16.0, *) {
6 | onGeometryChange(
| |- error: 'onGeometryChange(for:of:action:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
7 | for: CGRect.self) { proxy in
8 | proxy.frame(in: .global)
/Users/admin/builder/spi-builder-workspace/Sources/PresentView/View+Utils.swift:5:36: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add '@available' attribute to enclosing extension
4 | @ViewBuilder @MainActor @preconcurrency public func getFrame(frame: Binding<CGRect>) -> some View {
| `- note: add '@available' attribute to enclosing instance method
5 | if #available(iOS 16.0, *) {
| |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
6 | onGeometryChange(
7 | for: CGRect.self) { proxy in
[4/11] Compiling PresentView Presented.swift
[5/11] Compiling PresentView DismissPresentedAction.swift
[6/11] Compiling PresentView PresentView.swift
[7/11] Compiling PresentView NodeView.swift
[8/11] Compiling PresentView Array+Presented.swift
[9/11] Emitting module PresentView
[10/11] Compiling PresentView PresentedViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/PresentView/PresentedViewModifier.swift:71:72: warning: left side of nil coalescing operator '??' has non-optional type 'Bool', so the right side is never used
69 | #endif
70 | .onTapGesture {
71 | if presented.canCloseWhenTapBackground ?? false {
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Bool', so the right side is never used
72 | withAnimation(.easeInOut(duration: 0.2)) {
73 | isOverlay.wrappedValue = false
[11/11] Compiling PresentView TransparentBackground.swift
BUILD FAILURE 6.3 macosSpm