The Swift Package Index logo.Swift Package Index

Build Information

Failed to build libavif, reference master (0dc978), with Swift 6.3 for watchOS using Xcode 26.4 on 18 Apr 2026 11:28:56 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.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.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDWebImage/libavif-Xcode.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SDWebImage/libavif-Xcode
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.3
Building package at path:  $PWD
https://github.com/SDWebImage/libavif-Xcode.git
Command line invocation:
    /Applications/Xcode-26.4.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-04-18 07:28:47.730 xcodebuild[636:3846] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.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.4.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:
  libaom: https://github.com/SDWebImage/libaom-Xcode.git @ 3.0.0
  libvmaf: https://github.com/SDWebImage/libvmaf-Xcode.git @ 2.3.1
  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.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -x c++ -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -x c++ -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -x c++ -c /dev/null
Build description signature: 6a5fb71268e5ecfa2be3d4f5409ba3d5
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/6a5fb71268e5ecfa2be3d4f5409ba3d5.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-04-18 07:28:50.809 xcodebuild[938:5393] [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.4.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  libaom: https://github.com/SDWebImage/libaom-Xcode.git @ 3.0.0
  libavif: /Users/admin/builder/spi-builder-workspace
  libvmaf: https://github.com/SDWebImage/libvmaf-Xcode.git @ 2.3.1
resolved source packages: libaom, libavif, libvmaf
2026-04-18 07:28:53.249 xcodebuild[984:5614] [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-04-18 07:28:54.655 xcodebuild[994:5683] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.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.4.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:
  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
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.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -x c++ -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch armv7k -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -x c++ -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64_32 -isysroot /Applications/Xcode-26.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS26.4.sdk -x c++ -c /dev/null
Build description signature: 6a5fb71268e5ecfa2be3d4f5409ba3d5
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/6a5fb71268e5ecfa2be3d4f5409ba3d5.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-04-18 07:28:55.781 xcodebuild[997:5715] [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.3 watchOS