The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Glacid, reference 1.1.0 (a5acdc), with Swift 6.2 for macOS (SPM) on 23 Jun 2025 22:24:44 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ericviana/Glacid.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ericviana/Glacid
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at a5acdcc feat: add device orientation awareness borders to Glacid
Cloned https://github.com/ericviana/Glacid.git
Revision (git rev-parse @):
a5acdcc32e9ef5eff1f284b8d39c63184a8f8bf4
SUCCESS checkout https://github.com/ericviana/Glacid.git at 1.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ericviana/Glacid.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module Glacid
/Users/admin/builder/spi-builder-workspace/Sources/Glacid/Glacid.swift:42:25: error: 'CMMotionManager' is unavailable in macOS
 40 |     /// The shape to which the glacial effect will be applied.
 41 |     let shape: S
 42 |     let motionManager = CMMotionManager()
    |                         `- error: 'CMMotionManager' is unavailable in macOS
 43 |     @State private var roll: Double = 0.0
 44 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMotionManager.h:86:12: note: 'CMMotionManager' has been explicitly marked unavailable here
 84 |  */
 85 | COREMOTION_EXPORT API_AVAILABLE(ios(4.0)) API_UNAVAILABLE(macos)
 86 | @interface CMMotionManager : NSObject
    |            `- note: 'CMMotionManager' has been explicitly marked unavailable here
 87 | {
 88 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Glacid/Glacid.swift:230:24: error: type 'CGColor' has no member 'systemGroupedBackground'
228 |     .padding()
229 |     .frame(maxWidth: .infinity, maxHeight: .infinity)
230 |     .background(Color(.systemGroupedBackground)).ignoresSafeArea()
    |                        `- error: type 'CGColor' has no member 'systemGroupedBackground'
231 | }
232 |
[4/4] Compiling Glacid Glacid.swift
/Users/admin/builder/spi-builder-workspace/Sources/Glacid/Glacid.swift:42:25: error: 'CMMotionManager' is unavailable in macOS
 40 |     /// The shape to which the glacial effect will be applied.
 41 |     let shape: S
 42 |     let motionManager = CMMotionManager()
    |                         `- error: 'CMMotionManager' is unavailable in macOS
 43 |     @State private var roll: Double = 0.0
 44 |
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/System/Library/Frameworks/CoreMotion.framework/Headers/CMMotionManager.h:86:12: note: 'CMMotionManager' has been explicitly marked unavailable here
 84 |  */
 85 | COREMOTION_EXPORT API_AVAILABLE(ios(4.0)) API_UNAVAILABLE(macos)
 86 | @interface CMMotionManager : NSObject
    |            `- note: 'CMMotionManager' has been explicitly marked unavailable here
 87 | {
 88 | @private
/Users/admin/builder/spi-builder-workspace/Sources/Glacid/Glacid.swift:230:24: error: type 'CGColor' has no member 'systemGroupedBackground'
228 |     .padding()
229 |     .frame(maxWidth: .infinity, maxHeight: .infinity)
230 |     .background(Color(.systemGroupedBackground)).ignoresSafeArea()
    |                        `- error: type 'CGColor' has no member 'systemGroupedBackground'
231 | }
232 |
/Users/admin/builder/spi-builder-workspace/Sources/Glacid/Glacid.swift:74:59: error: type 'CGColor' has no member 'quaternaryLabel'
 72 |                                     stops: [
 73 |                                         Gradient.Stop(
 74 |                                             color: Color(.quaternaryLabel),
    |                                                           `- error: type 'CGColor' has no member 'quaternaryLabel'
 75 |                                             location: 0.1),
 76 |                                         Gradient.Stop(
/Users/admin/builder/spi-builder-workspace/Sources/Glacid/Glacid.swift:78:50: error: type 'CGColor' has no member 'tertiarySystemBackground'
 76 |                                         Gradient.Stop(
 77 |                                             color: Color(
 78 |                                                 .tertiarySystemBackground),
    |                                                  `- error: type 'CGColor' has no member 'tertiarySystemBackground'
 79 |                                             location: 0.5),
 80 |                                         Gradient.Stop(
/Users/admin/builder/spi-builder-workspace/Sources/Glacid/Glacid.swift:81:59: error: type 'CGColor' has no member 'quaternaryLabel'
 79 |                                             location: 0.5),
 80 |                                         Gradient.Stop(
 81 |                                             color: Color(.quaternaryLabel),
    |                                                           `- error: type 'CGColor' has no member 'quaternaryLabel'
 82 |                                             location: 0.85),
 83 |                                         Gradient.Stop(
/Users/admin/builder/spi-builder-workspace/Sources/Glacid/Glacid.swift:84:59: error: type 'CGColor' has no member 'quaternaryLabel'
 82 |                                             location: 0.85),
 83 |                                         Gradient.Stop(
 84 |                                             color: Color(.quaternaryLabel),
    |                                                           `- error: type 'CGColor' has no member 'quaternaryLabel'
 85 |                                             location: 1.0),
 86 |                                     ],
BUILD FAILURE 6.2 macosSpm