The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWStreamPlayer, reference 0.6.2 (e4cec3), with Swift 6.1 for macOS (SPM) on 9 Apr 2026 23:32:34 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWStreamPlayer.git
Reference: 0.6.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/William-Weng/WWStreamPlayer
 * tag               0.6.2      -> FETCH_HEAD
HEAD is now at e4cec32 - 使用Swift改寫AudioPlayer (WWWavWriter)
Cloned https://github.com/William-Weng/WWStreamPlayer.git
Revision (git rev-parse @):
e4cec328c6d7a0da81870222ca5621eefd83a765
SUCCESS checkout https://github.com/William-Weng/WWStreamPlayer.git at 0.6.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/William-Weng/WWStreamPlayer.git
https://github.com/William-Weng/WWStreamPlayer.git
{
  "dependencies" : [
    {
      "identity" : "wwwavwriter",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "1.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/William-Weng/WWWavWriter"
    }
  ],
  "manifest_display_name" : "WWStreamPlayer",
  "name" : "WWStreamPlayer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "WWStreamPlayer",
      "targets" : [
        "WWStreamPlayer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WWStreamPlayer",
      "module_type" : "SwiftTarget",
      "name" : "WWStreamPlayer",
      "path" : "Sources/WWStreamPlayer",
      "product_dependencies" : [
        "WWWavWriter"
      ],
      "product_memberships" : [
        "WWStreamPlayer"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/WWStreamPlayer/Privacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Utility/AudioPlayer.swift",
        "Utility/Constant.swift",
        "WWStreamPlayer.swift"
      ],
      "target_dependencies" : [
        "FFmpegWrapper"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FFmpegWrapper",
      "module_type" : "ClangTarget",
      "name" : "FFmpegWrapper",
      "path" : "Sources/FFmpegWrapper",
      "product_memberships" : [
        "WWStreamPlayer"
      ],
      "sources" : [
        "FFmpegWrapper.m",
        "Utility.m"
      ],
      "target_dependencies" : [
        "FFMpeg_AVCodec",
        "FFMpeg_AVDevice",
        "FFMpeg_AVFilter",
        "FFMpeg_AVFormat",
        "FFMpeg_AVUtil",
        "FFMpeg_SwreSample",
        "FFMpeg_SwScale"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FFMpeg_SwreSample",
      "module_type" : "BinaryTarget",
      "name" : "FFMpeg_SwreSample",
      "path" : "remote/archive/libswresample.xcframework.zip",
      "product_memberships" : [
        "WWStreamPlayer"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "FFMpeg_SwScale",
      "module_type" : "BinaryTarget",
      "name" : "FFMpeg_SwScale",
      "path" : "remote/archive/libswscale.xcframework.zip",
      "product_memberships" : [
        "WWStreamPlayer"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "FFMpeg_AVUtil",
      "module_type" : "BinaryTarget",
      "name" : "FFMpeg_AVUtil",
      "path" : "remote/archive/libavutil.xcframework.zip",
      "product_memberships" : [
        "WWStreamPlayer"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "FFMpeg_AVFormat",
      "module_type" : "BinaryTarget",
      "name" : "FFMpeg_AVFormat",
      "path" : "remote/archive/libavformat.xcframework.zip",
      "product_memberships" : [
        "WWStreamPlayer"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "FFMpeg_AVFilter",
      "module_type" : "BinaryTarget",
      "name" : "FFMpeg_AVFilter",
      "path" : "remote/archive/libavfilter.xcframework.zip",
      "product_memberships" : [
        "WWStreamPlayer"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "FFMpeg_AVDevice",
      "module_type" : "BinaryTarget",
      "name" : "FFMpeg_AVDevice",
      "path" : "remote/archive/libavdevice.xcframework.zip",
      "product_memberships" : [
        "WWStreamPlayer"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "FFMpeg_AVCodec",
      "module_type" : "BinaryTarget",
      "name" : "FFMpeg_AVCodec",
      "path" : "remote/archive/libavcodec.xcframework.zip",
      "product_memberships" : [
        "WWStreamPlayer"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/7] Write sources
[2/7] Copying Privacy
[4/7] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/13] Emitting module WWWavWriter
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWWavWriter/Sources/WWWavWriter/Utility/Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - [Int16]
[7/13] Compiling WWWavWriter Constant.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWWavWriter/Sources/WWWavWriter/Utility/Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - [Int16]
[8/13] Compiling WWWavWriter Extension.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWWavWriter/Sources/WWWavWriter/Utility/Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - [Int16]
[9/13] Compiling WWWavWriter WWWavWriter.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWWavWriter/Sources/WWWavWriter/Utility/Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - [Int16]
[10/13] Compiling WWWavWriter Model.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWWavWriter/Sources/WWWavWriter/Utility/Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - [Int16]
[11/13] Compiling WWWavWriter resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWWavWriter/Sources/WWWavWriter/Utility/Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - [Int16]
In file included from /Users/admin/builder/spi-builder-workspace/Sources/FFmpegWrapper/FFmpegWrapper.m:9:
/Users/admin/builder/spi-builder-workspace/Sources/FFmpegWrapper/FFmpegWrapper.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
    8 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[11/13] Compiling FFmpegWrapper FFmpegWrapper.m
[11/13] Compiling FFmpegWrapper Utility.m
Fetching https://github.com/William-Weng/WWWavWriter
[1/75] Fetching wwwavwriter
Fetched https://github.com/William-Weng/WWWavWriter from cache (0.72s)
Computing version for https://github.com/William-Weng/WWWavWriter
Computed https://github.com/William-Weng/WWWavWriter at 1.1.0 (1.30s)
Creating working copy for https://github.com/William-Weng/WWWavWriter
Working copy of https://github.com/William-Weng/WWWavWriter resolved at 1.1.0
Downloading binary artifact https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libavdevice.xcframework.zip
Downloading binary artifact https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libavutil.xcframework.zip
Downloading binary artifact https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libavformat.xcframework.zip
Downloading binary artifact https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libavfilter.xcframework.zip
Downloading binary artifact https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libavcodec.xcframework.zip
Downloading binary artifact https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libswscale.xcframework.zip
Downloading binary artifact https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libswresample.xcframework.zip
[8259/105144] Downloading https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libswresample.xcframework.zip
[121528/1153960] Downloading https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libswresample.xcframework.zip, https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libavutil.xcframework.zip
[438029/1783823] Downloading https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libswresample.xcframework.zip, https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libavutil.xcframework.zip, https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libswscale.xcframework.zip
Downloaded https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libswresample.xcframework.zip (0.74s)
[31483/3181642] Downloading https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libavfilter.xcframework.zip
[73181/5445377] Downloading https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libavfilter.xcframework.zip, https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libavformat.xcframework.zip
[716630/17687655] Downloading https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libavfilter.xcframework.zip, https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libavformat.xcframework.zip, https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libavcodec.xcframework.zip
Downloaded https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libswscale.xcframework.zip (0.79s)
Downloaded https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libavutil.xcframework.zip (0.88s)
Downloaded https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libavformat.xcframework.zip (0.90s)
[13675993/15474179] Downloading https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libavfilter.xcframework.zip, https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libavcodec.xcframework.zip, https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libavdevice.xcframework.zip
Downloaded https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libavfilter.xcframework.zip (0.94s)
[10524538/12292537] Downloading https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libavcodec.xcframework.zip, https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libavdevice.xcframework.zip
Downloaded https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libavdevice.xcframework.zip (0.97s)
Downloaded https://github.com/William-Weng/FFMpeg_XCFramework/releases/download/n7.1/libavcodec.xcframework.zip (1.43s)
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/3] Write swift-version-2F0A5646E1D333AE.txt
[2/9] Compiling WWWavWriter resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWWavWriter/Sources/WWWavWriter/Utility/Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - [Int16]
[3/9] Compiling WWWavWriter Constant.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWWavWriter/Sources/WWWavWriter/Utility/Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - [Int16]
[4/9] Compiling WWWavWriter Extension.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWWavWriter/Sources/WWWavWriter/Utility/Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - [Int16]
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Emitting module WWWavWriter
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWWavWriter/Sources/WWWavWriter/Utility/Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - [Int16]
[6/9] Compiling WWWavWriter Model.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWWavWriter/Sources/WWWavWriter/Utility/Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - [Int16]
[7/9] Compiling WWWavWriter WWWavWriter.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WWWavWriter/Sources/WWWavWriter/Utility/Extension.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - [Int16]
In file included from /Users/admin/builder/spi-builder-workspace/Sources/FFmpegWrapper/FFmpegWrapper.m:9:
/Users/admin/builder/spi-builder-workspace/Sources/FFmpegWrapper/FFmpegWrapper.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
    8 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[7/9] Compiling FFmpegWrapper FFmpegWrapper.m
[7/9] Compiling FFmpegWrapper Utility.m
BUILD FAILURE 6.1 macosSpm