The Swift Package Index logo.Swift Package Index

Build Information

Failed to build libavif, reference 1.0.0 (0dc978), with Swift 6.2 for watchOS using Xcode 26.3 on 6 Feb 2026 10:49:17 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme libavif -destination generic/platform=watchOS

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDWebImage/libavif-Xcode.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SDWebImage/libavif-Xcode
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 0dc978b Upgrade the min dependency for aom
Submodule path 'avif': checked out 'bc41fc5b22786976ca23664905875ccd104f55c4'
Submodule 'avif' (https://github.com/AOMediaCodec/libavif.git) registered for path 'avif'
Cloning into '/Users/admin/builder/spi-builder-workspace/avif'...
Cloned https://github.com/SDWebImage/libavif-Xcode.git
Revision (git rev-parse @):
0dc978b08b9bf8b7d1b505f1cb15218e8f637a6c
SUCCESS checkout https://github.com/SDWebImage/libavif-Xcode.git at 1.0.0
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SDWebImage/libavif-Xcode.git
Command line invocation:
    /Applications/Xcode-26.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
resolved source packages:
{
  "c_language_standard" : "gnu11",
  "cxx_language_standard" : "gnu++14",
  "dependencies" : [
    {
      "identity" : "libaom-xcode",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SDWebImage/libaom-Xcode.git"
    }
  ],
  "manifest_display_name" : "libavif",
  "name" : "libavif",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "libavif",
      "targets" : [
        "libavif"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "libavif",
      "module_type" : "ClangTarget",
      "name" : "libavif",
      "path" : "avif",
      "product_dependencies" : [
        "libaom"
      ],
      "product_memberships" : [
        "libavif"
      ],
      "sources" : [
        "src/alpha.c",
        "src/avif.c",
        "src/codec_aom.c",
        "src/colr.c",
        "src/diag.c",
        "src/exif.c",
        "src/io.c",
        "src/mem.c",
        "src/obu.c",
        "src/rawdata.c",
        "src/read.c",
        "src/reformat.c",
        "src/reformat_libsharpyuv.c",
        "src/reformat_libyuv.c",
        "src/scale.c",
        "src/stream.c",
        "src/utils.c",
        "src/write.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
{
  "project" : {
    "configurations" : [
      "Debug",
      "Release"
    ],
    "name" : "libavif",
    "schemes" : [
      "libavif",
      "libavif iOS",
      "libavif tvOS",
      "libavif watchOS",
      "libavifExample"
    ],
    "targets" : [
      "libavif",
      "libavif iOS",
      "libavif tvOS",
      "libavif watchOS",
      "libavifExample"
    ]
  }
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "libavif"
    ]
  }
}
2026-02-06 05:49:08.939 xcodebuild[614:3661] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme libavif -destination generic/platform=watchOS
Command line invocation:
    /Applications/Xcode-26.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme libavif -destination generic/platform=watchOS
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  libvmaf: https://github.com/SDWebImage/libvmaf-Xcode.git @ 2.3.1
  libaom: https://github.com/SDWebImage/libaom-Xcode.git @ 3.0.0
  libavif: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (6 targets)
    Target 'libavif' in project 'libavif'
        ➜ Explicit dependency on target 'libavif' in project 'libavif'
        ➜ Explicit dependency on target 'libaom' in project 'libaom'
    Target 'libavif' in project 'libavif'
        ➜ Explicit dependency on target 'libaom' in project 'libaom'
    Target 'libaom' in project 'libaom'
        ➜ Explicit dependency on target 'libaom' in project 'libaom'
        ➜ Explicit dependency on target 'libvmaf' in project 'libvmaf'
    Target 'libaom' in project 'libaom'
        ➜ Explicit dependency on target 'libvmaf' in project 'libvmaf'
    Target 'libvmaf' in project 'libvmaf'
        ➜ Explicit dependency on target 'libvmaf' in project 'libvmaf'
    Target 'libvmaf' in project 'libvmaf' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-26.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /Applications/Xcode-26.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -x c++ -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -x c++ -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -x c++ -c /dev/null
Build description signature: d08c2910152eb60f8288f64331f9f2dd
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/d08c2910152eb60f8288f64331f9f2dd.xcbuilddata
error: The package product 'libaom' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'libavif' from project 'libavif')
2026-02-06 05:49:11.554 xcodebuild[783:4313] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme libavif
(1 failure)
Command line invocation:
    /Applications/Xcode-26.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  libavif: /Users/admin/builder/spi-builder-workspace
  libvmaf: https://github.com/SDWebImage/libvmaf-Xcode.git @ 2.3.1
  libaom: https://github.com/SDWebImage/libaom-Xcode.git @ 3.0.0
resolved source packages: libavif, libvmaf, libaom
2026-02-06 05:49:13.721 xcodebuild[828:4539] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "c_language_standard" : "gnu11",
  "cxx_language_standard" : "gnu++14",
  "dependencies" : [
    {
      "identity" : "libaom-xcode",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SDWebImage/libaom-Xcode.git"
    }
  ],
  "manifest_display_name" : "libavif",
  "name" : "libavif",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "libavif",
      "targets" : [
        "libavif"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "libavif",
      "module_type" : "ClangTarget",
      "name" : "libavif",
      "path" : "avif",
      "product_dependencies" : [
        "libaom"
      ],
      "product_memberships" : [
        "libavif"
      ],
      "sources" : [
        "src/alpha.c",
        "src/avif.c",
        "src/codec_aom.c",
        "src/colr.c",
        "src/diag.c",
        "src/exif.c",
        "src/io.c",
        "src/mem.c",
        "src/obu.c",
        "src/rawdata.c",
        "src/read.c",
        "src/reformat.c",
        "src/reformat_libsharpyuv.c",
        "src/reformat_libyuv.c",
        "src/scale.c",
        "src/stream.c",
        "src/utils.c",
        "src/write.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "libavif"
    ]
  }
}
2026-02-06 05:49:15.050 xcodebuild[836:4599] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme libavif -destination generic/platform=watchOS
Command line invocation:
    /Applications/Xcode-26.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme libavif -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
  libvmaf: https://github.com/SDWebImage/libvmaf-Xcode.git @ 2.3.1
  libavif: /Users/admin/builder/spi-builder-workspace
  libaom: https://github.com/SDWebImage/libaom-Xcode.git @ 3.0.0
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (6 targets)
    Target 'libavif' in project 'libavif'
        ➜ Explicit dependency on target 'libavif' in project 'libavif'
        ➜ Explicit dependency on target 'libaom' in project 'libaom'
    Target 'libavif' in project 'libavif'
        ➜ Explicit dependency on target 'libaom' in project 'libaom'
    Target 'libaom' in project 'libaom'
        ➜ Explicit dependency on target 'libaom' in project 'libaom'
        ➜ Explicit dependency on target 'libvmaf' in project 'libvmaf'
    Target 'libaom' in project 'libaom'
        ➜ Explicit dependency on target 'libvmaf' in project 'libvmaf'
    Target 'libvmaf' in project 'libvmaf'
        ➜ Explicit dependency on target 'libvmaf' in project 'libvmaf'
    Target 'libvmaf' in project 'libvmaf' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-26.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /Applications/Xcode-26.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -x c++ -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -x c++ -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-26.0.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.0.sdk -x c++ -c /dev/null
Build description signature: d08c2910152eb60f8288f64331f9f2dd
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/d08c2910152eb60f8288f64331f9f2dd.xcbuilddata
error: The package product 'libaom' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'libavif' from project 'libavif')
2026-02-06 05:49:16.251 xcodebuild[838:4629] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme libavif
(1 failure)
BUILD FAILURE 6.2 watchOS