The Swift Package Index logo.Swift Package Index

Build Information

Successful build of libheif with Swift 5.9 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.25.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDWebImage/libheif-Xcode.git
Reference: 1.16.2
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/SDWebImage/libheif-Xcode
 * tag               1.16.2     -> FETCH_HEAD
HEAD is now at 238ff56 Merge pull request #7 from SDWebImage/bugfix/modular_headers_x265
Submodule path 'libheif': checked out '6ee6762657cfb0a921860d1a9d4cf36fa0eb5633'
Submodule 'libheif' (https://github.com/strukturag/libheif.git) registered for path 'libheif'
Cloning into '/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/libheif'...
Cloned https://github.com/SDWebImage/libheif-Xcode.git
Revision (git rev-parse @):
238ff56032df7b04215b01fe0b8cec17429a9e39
SUCCESS checkout https://github.com/SDWebImage/libheif-Xcode.git at 1.16.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/29] Compiling nclx.cc
[1/29] Compiling exif.cc
[2/29] Compiling error.cc
[3/29] Compiling bitstream.cc
[4/29] Compiling avif.cc
[5/29] Compiling decoder_libde265.cc
[6/29] Compiling rgb2rgb.cc
[7/29] Compiling encoder_uncompressed.cc
[8/29] Compiling pixelimage.cc
[9/29] Compiling heif_plugin.cc
[10/29] Compiling metadata_compression.cc
[11/29] Compiling uncompressed_image.cc
[12/29] Compiling plugin_registry.cc
[13/29] Compiling common_utils.cc
[14/29] Compiling hevc.cc
[15/29] Compiling region.cc
[16/29] Compiling init.cc
[17/29] Compiling rgb2yuv_sharp.cc
[18/29] Compiling yuv2rgb.cc
[19/29] Compiling monochrome.cc
[20/29] Compiling rgb2yuv.cc
[21/29] Compiling box.cc
[22/29] Compiling hdr_sdr.cc
[23/29] Compiling file.cc
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/libheif/libheif/heif.cc:1598:10: warning: result of comparison of constant 4294967295 with expression of type 'uint16_t' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
      cp > std::numeric_limits<std::underlying_type<heif_color_primaries>::type>::max()) {
      ~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/libheif/libheif/heif.cc:1639:10: warning: result of comparison of constant 4294967295 with expression of type 'uint16_t' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
      tc > std::numeric_limits<std::underlying_type<heif_transfer_characteristics>::type>::max()) {
      ~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/libheif/libheif/heif.cc:1676:10: warning: result of comparison of constant 4294967295 with expression of type 'uint16_t' (aka 'unsigned short') is always false [-Wtautological-constant-out-of-range-compare]
      mc > std::numeric_limits<std::underlying_type<heif_matrix_coefficients>::type>::max()) {
      ~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
[24/29] Compiling heif.cc
[25/29] Compiling chroma_sampling.cc
[26/29] Compiling context.cc
[27/29] Compiling alpha.cc
[28/29] Compiling colorconversion.cc
Build complete! (13.72s)
Fetching https://github.com/SDWebImage/libde265-Xcode.git from cache
Fetched https://github.com/SDWebImage/libde265-Xcode.git (0.20s)
Computing version for https://github.com/SDWebImage/libde265-Xcode.git
Computed https://github.com/SDWebImage/libde265-Xcode.git at 1.0.9-beta (0.55s)
Creating working copy for https://github.com/SDWebImage/libde265-Xcode.git
Working copy of https://github.com/SDWebImage/libde265-Xcode.git resolved at 1.0.9-beta
Build complete.
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "libheif-xcode",
      "name": "libheif",
      "url": "https://github.com/SDWebImage/libheif-Xcode.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/libheif-Xcode",
      "dependencies": [
        {
          "identity": "libde265-xcode",
          "name": "libde265",
          "url": "https://github.com/SDWebImage/libde265-Xcode.git",
          "version": "1.0.12",
          "path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/libde265-Xcode",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/SDWebImage/libheif-Xcode.git from cache
Fetched https://github.com/SDWebImage/libheif-Xcode.git (0.27s)
Fetching https://github.com/SDWebImage/libde265-Xcode.git from cache
Fetched https://github.com/SDWebImage/libde265-Xcode.git (0.28s)
Computing version for https://github.com/SDWebImage/libde265-Xcode.git
Computed https://github.com/SDWebImage/libde265-Xcode.git at 1.0.12 (0.54s)
Creating working copy for https://github.com/SDWebImage/libde265-Xcode.git
Working copy of https://github.com/SDWebImage/libde265-Xcode.git resolved at 1.0.12
Creating working copy for https://github.com/SDWebImage/libheif-Xcode.git
Working copy of https://github.com/SDWebImage/libheif-Xcode.git resolved at 1.16.2
warning: '.resolve-product-dependencies': dependency 'libheif-xcode' is not used by any target
Found 1 product dependencies
  - libde265
Done.