The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WhatsNewKit, reference main (6098bf), with Swift 6.2 for macOS (SPM) on 3 Oct 2026 12:26:42 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AnimatedCoding/WhatsNewKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AnimatedCoding/WhatsNewKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6098bfb v3.0.4
Cloned https://github.com/AnimatedCoding/WhatsNewKit.git
Revision (git rev-parse @):
6098bfbb670afbacf5c125e9ec858b605c391535
SUCCESS checkout https://github.com/AnimatedCoding/WhatsNewKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/AnimatedCoding/WhatsNewKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version--3CB7CFEC50E0D141.txt
[4/17] Compiling WhatsNewKit WhatsNewView.swift
/Users/admin/builder/spi-builder-workspace/Sources/View/WhatsNewView.swift:292:19: warning: unrecognized platform name 'anyAppleOS' [#AvailabilityUnrecognizedName]
290 | 		.if { view in
291 | 			Group {
292 | 				if #available(anyAppleOS 27, *) {
    |                   `- warning: unrecognized platform name 'anyAppleOS' [#AvailabilityUnrecognizedName]
293 | 					view
294 | 						.scrollEdgeEffectStyle(.soft, for: .top)
/Users/admin/builder/spi-builder-workspace/Sources/View/WhatsNewView.swift:294:8: error: 'scrollEdgeEffectStyle(_:for:)' is only available in macOS 26.0 or newer
  4 |
  5 | /// A WhatsNewView
  6 | public struct WhatsNewView: View {
    |               `- note: add '@available' attribute to enclosing struct
  7 |
  8 |     // MARK: Properties
    :
 35 |     }
 36 |
 37 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
 38 |         NavigationStack {
 39 |             // Content ScrollView
    :
292 | 				if #available(anyAppleOS 27, *) {
293 | 					view
294 | 						.scrollEdgeEffectStyle(.soft, for: .top)
    |        |- error: 'scrollEdgeEffectStyle(_:for:)' is only available in macOS 26.0 or newer
    |        `- note: add 'if #available' version check
295 | 				} else {
296 | 					view
[#AvailabilityUnrecognizedName]: <https://docs.swift.org/compiler/documentation/diagnostics/availability-unrecognized-name>
[5/18] Compiling WhatsNewKit WhatsNewView+FeaturesPadding.swift
[6/18] Compiling WhatsNewKit WhatsNew.swift
[7/18] Compiling WhatsNewKit WhatsNew+SecondaryAction.swift
[8/18] Compiling WhatsNewKit WhatsNew+Feature.swift
[9/18] Compiling WhatsNewKit WhatsNew+FeatureGroup.swift
[10/18] Compiling WhatsNewKit WhatsNew+HapticFeedback.swift
[11/18] Compiling WhatsNewKit WhatsNew+Layout.swift
[12/18] Compiling WhatsNewKit WhatsNew+PrimaryAction.swift
[13/18] Compiling WhatsNewKit WhatsNew+SecondaryAction+Action.swift
[14/18] Emitting module WhatsNewKit
[15/18] Compiling WhatsNewKit WhatsNewEnvironment+Key.swift
[16/18] Compiling WhatsNewKit View+WhatsNewSheet.swift
[17/18] Compiling WhatsNewKit FeatureView.swift
[18/18] Compiling WhatsNewKit resource_bundle_accessor.swift
BUILD FAILURE 6.2 macosSpm