Build Information
Failed to build PresentView, reference 1.1.5 (8bd61e), with Swift 6.2 for macOS (SPM) on 24 Apr 2026 13:39:01 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/jokerphuongnam/PresentView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--3CB7CFEC50E0D141.txt
[3/11] Compiling PresentView Presented.swift
[4/11] Compiling PresentView NodeView.swift
[5/11] Compiling PresentView PresentView.swift
[6/11] Compiling PresentView DismissPresentedAction.swift
[7/11] Compiling PresentView Array+Presented.swift
[8/11] Emitting module PresentView
[9/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
[10/11] Compiling PresentView TransparentBackground.swift
[11/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
BUILD FAILURE 6.2 macosSpm