The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OpenGlass, reference 2.0.0 (9bb4f0), with Swift 6.3 for macOS (SPM) on 19 Apr 2026 04:36:32 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mi11ione/OpenGlass.git
Reference: 2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mi11ione/OpenGlass
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at 9bb4f09 v2
Cloned https://github.com/mi11ione/OpenGlass.git
Revision (git rev-parse @):
9bb4f09c1ed396423c505a2916d032e3dd0de46e
SUCCESS checkout https://github.com/mi11ione/OpenGlass.git at 2.0.0
========================================
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": "openglass",
      "name": "OpenGlass",
      "url": "https://github.com/mi11ione/OpenGlass.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/OpenGlass",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/mi11ione/OpenGlass.git
[1/99] Fetching openglass
Fetched https://github.com/mi11ione/OpenGlass.git from cache (2.19s)
Creating working copy for https://github.com/mi11ione/OpenGlass.git
Working copy of https://github.com/mi11ione/OpenGlass.git resolved at 2.0.0 (9bb4f09)
warning: '.resolve-product-dependencies': dependency 'openglass' 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/mi11ione/OpenGlass.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Write sources
[1/6] Write swift-version--6988338F2F200930.txt
/Users/admin/builder/spi-builder-workspace/Sources/OGCapture/OGGlassEngine.mm:3:9: fatal error: 'UIKit/UIKit.h' file not found
    3 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[2/6] Compiling OGCapture OGGlassEngine.mm
/Users/admin/builder/spi-builder-workspace/Sources/OGCapture/OGLayerTraversal.mm:2:9: fatal error: 'UIKit/UIView.h' file not found
    2 | #import <UIKit/UIView.h>
      |         ^~~~~~~~~~~~~~~~
[2/6] Compiling OGCapture OGLayerTraversal.mm
/Users/admin/builder/spi-builder-workspace/Sources/OGCapture/OGCompositor.mm:167:44: warning: 'kCAGradientLayerConic' is only available on macOS 10.14 or newer [-Wunguarded-availability-new]
  167 |     } else if ([layer.type isEqualToString:kCAGradientLayerConic]) {
      |                                            ^~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h:73:37: note: 'kCAGradientLayerConic' has been marked as being introduced in macOS 10.14 here, but the deployment target is macOS 10.13.0
   73 | CA_EXTERN CAGradientLayerType const kCAGradientLayerConic
      |                                     ^
/Users/admin/builder/spi-builder-workspace/Sources/OGCapture/OGCompositor.mm:167:44: note: enclose 'kCAGradientLayerConic' in an @available check to silence this warning
  167 |     } else if ([layer.type isEqualToString:kCAGradientLayerConic]) {
      |                                            ^~~~~~~~~~~~~~~~~~~~~
[2/6] Compiling OGCapture OGCompositor.mm
[2/6] Compiling OGCapture OGCaptureEngine.mm
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/OpenGlass/CompositorShaders.metal
    /Users/admin/builder/spi-builder-workspace/Sources/OpenGlass/Shaders.metal
BUILD FAILURE 6.3 macosSpm