The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Wyler, reference v1.0.0 (5f2448), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 01:42:29 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/toupper/Wyler.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/toupper/Wyler
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at 5f2448d Add SPM support
Cloned https://github.com/toupper/Wyler.git
Revision (git rev-parse @):
5f2448d3e998cfa76d386a839edefd4d0831e4da
SUCCESS checkout https://github.com/toupper/Wyler.git at v1.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": "wyler",
      "name": "Wyler",
      "url": "https://github.com/toupper/Wyler.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Wyler",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/toupper/Wyler.git
[1/137] Fetching wyler
Fetched https://github.com/toupper/Wyler.git from cache (0.97s)
Creating working copy for https://github.com/toupper/Wyler.git
Working copy of https://github.com/toupper/Wyler.git resolved at v1.0.0 (5f2448d)
warning: '.resolve-product-dependencies': dependency 'wyler' 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/toupper/Wyler.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/4] Emitting module Wyler
[4/4] Compiling Wyler ScreenRecorder.swift
/Users/admin/builder/spi-builder-workspace/Wyler/Wyler/ScreenRecorder.swift:82:39: error: cannot find 'UIScreen' in scope
 80 |
 81 |   private func addVideoWriterInput(size: CGSize?) {
 82 |     let passingSize: CGSize = size ?? UIScreen.main.bounds.size
    |                                       `- error: cannot find 'UIScreen' in scope
 83 |
 84 |     let videoSettings: [String: Any] = [AVVideoCodecKey: AVVideoCodecType.h264,
/Users/admin/builder/spi-builder-workspace/Wyler/Wyler/ScreenRecorder.swift:112:14: error: 'startCapture(handler:completionHandler:)' is only available in macOS 11.0 or newer
 15 | }
 16 |
 17 | final public class ScreenRecorder {
    |                    `- note: add '@available' attribute to enclosing class
 18 |   private var videoOutputURL: URL?
 19 |   private var videoWriter: AVAssetWriter?
    :
109 |   }
110 |
111 |   private func startCapture(error: @escaping (Error) -> Void) {
    |                `- note: add '@available' attribute to enclosing instance method
112 |     recorder.startCapture(handler: { (sampleBuffer, sampleType, passedError) in
    |              |- error: 'startCapture(handler:completionHandler:)' is only available in macOS 11.0 or newer
    |              `- note: add 'if #available' version check
113 |       if let passedError = passedError {
114 |         error(passedError)
/Users/admin/builder/spi-builder-workspace/Wyler/Wyler/ScreenRecorder.swift:153:31: error: 'stopCapture(handler:)' is only available in macOS 11.0 or newer
 15 | }
 16 |
 17 | final public class ScreenRecorder {
    |                    `- note: add '@available' attribute to enclosing class
 18 |   private var videoOutputURL: URL?
 19 |   private var videoWriter: AVAssetWriter?
    :
150 |   - Parameter errorHandler: Called when an error is found
151 |   */
152 |   public func stoprecording(errorHandler: @escaping (Error) -> Void) {
    |               `- note: add '@available' attribute to enclosing instance method
153 |     RPScreenRecorder.shared().stopCapture( handler: { error in
    |                               |- error: 'stopCapture(handler:)' is only available in macOS 11.0 or newer
    |                               `- note: add 'if #available' version check
154 |       if let error = error {
155 |         errorHandler(error)
/Users/admin/builder/spi-builder-workspace/Wyler/Wyler/ScreenRecorder.swift:187:7: error: 'PHAssetChangeRequest' is only available in macOS 10.15 or newer
 15 | }
 16 |
 17 | final public class ScreenRecorder {
    |                    `- note: add '@available' attribute to enclosing class
 18 |   private var videoOutputURL: URL?
 19 |   private var videoWriter: AVAssetWriter?
    :
179 |   }
180 |
181 |   private func saveVideoToCameraRoll(errorHandler: @escaping (Error) -> Void) {
    |                `- note: add '@available' attribute to enclosing instance method
182 |     guard let videoOutputURL = self.videoOutputURL else {
183 |       return
    :
185 |
186 |     PHPhotoLibrary.shared().performChanges({
187 |       PHAssetChangeRequest.creationRequestForAssetFromVideo(atFileURL: videoOutputURL)
    |       |- error: 'PHAssetChangeRequest' is only available in macOS 10.15 or newer
    |       `- note: add 'if #available' version check
188 |     }, completionHandler: { _, error in
189 |       if let error = error {
/Users/admin/builder/spi-builder-workspace/Wyler/Wyler/ScreenRecorder.swift:187:28: error: 'creationRequestForAssetFromVideo(atFileURL:)' is only available in macOS 10.15 or newer
 15 | }
 16 |
 17 | final public class ScreenRecorder {
    |                    `- note: add '@available' attribute to enclosing class
 18 |   private var videoOutputURL: URL?
 19 |   private var videoWriter: AVAssetWriter?
    :
179 |   }
180 |
181 |   private func saveVideoToCameraRoll(errorHandler: @escaping (Error) -> Void) {
    |                `- note: add '@available' attribute to enclosing instance method
182 |     guard let videoOutputURL = self.videoOutputURL else {
183 |       return
    :
185 |
186 |     PHPhotoLibrary.shared().performChanges({
187 |       PHAssetChangeRequest.creationRequestForAssetFromVideo(atFileURL: videoOutputURL)
    |                            |- error: 'creationRequestForAssetFromVideo(atFileURL:)' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
188 |     }, completionHandler: { _, error in
189 |       if let error = error {
BUILD FAILURE 6.3 macosSpm