The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FlexLayout, reference 2.2.3 (b1fcc8), with Swift 6.3 for macOS (SPM) on 17 Apr 2026 20:57:33 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/layoutbox/flexlayout.git
Reference: 2.2.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/layoutbox/flexlayout
 * tag               2.2.3      -> FETCH_HEAD
HEAD is now at b1fcc81 Update version to 2.2.3
Cloned https://github.com/layoutbox/flexlayout.git
Revision (git rev-parse @):
b1fcc81828e4b735c79d4c3fac35ef0754be0060
SUCCESS checkout https://github.com/layoutbox/flexlayout.git at 2.2.3
Fetching https://github.com/facebook/yoga.git
[1/44382] Fetching yoga
Fetched https://github.com/facebook/yoga.git from cache (3.16s)
Computing version for https://github.com/facebook/yoga.git
Computed https://github.com/facebook/yoga.git at 3.2.1 (3.84s)
Creating working copy for https://github.com/facebook/yoga.git
Working copy of https://github.com/facebook/yoga.git resolved at 3.2.1
========================================
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": "flexlayout",
      "name": "FlexLayout",
      "url": "https://github.com/layoutbox/flexlayout.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/flexlayout",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "yoga",
          "name": "yoga",
          "url": "https://github.com/facebook/yoga.git",
          "version": "3.2.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/yoga",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/layoutbox/flexlayout.git
[1/5577] Fetching flexlayout
Fetched https://github.com/layoutbox/flexlayout.git from cache (1.42s)
Fetching https://github.com/facebook/yoga.git from cache
Fetched https://github.com/facebook/yoga.git from cache (0.62s)
Computing version for https://github.com/facebook/yoga.git
Computed https://github.com/facebook/yoga.git at 3.2.1 (0.68s)
Creating working copy for https://github.com/facebook/yoga.git
Working copy of https://github.com/facebook/yoga.git resolved at 3.2.1
Creating working copy for https://github.com/layoutbox/flexlayout.git
Working copy of https://github.com/layoutbox/flexlayout.git resolved at 2.2.3 (b1fcc81)
warning: '.resolve-product-dependencies': dependency 'flexlayout' is not used by any target
Found 1 product dependencies
  - yoga
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/layoutbox/flexlayout.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/25] Compiling YGEnums.cpp
[1/25] Write swift-version--6988338F2F200930.txt
In file included from /Users/admin/builder/spi-builder-workspace/Sources/YogaKit/YGLayout.mm:8:
/Users/admin/builder/spi-builder-workspace/Sources/YogaKit/include/YogaKit/UIView+Yoga.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
    8 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[2/25] Compiling FlexLayoutYogaKit YGLayout.mm
[2/25] Compiling Node.cpp
[2/25] Compiling AbsoluteLayout.cpp
[2/25] Compiling YGConfig.cpp
[2/25] Compiling YGNodeStyle.cpp
[2/25] Compiling YGNode.cpp
In file included from /Users/admin/builder/spi-builder-workspace/Sources/YogaKit/UIView+Yoga.mm:9:
/Users/admin/builder/spi-builder-workspace/Sources/YogaKit/include/YogaKit/UIView+Yoga.h:8:9: fatal error: 'UIKit/UIKit.h' file not found
    8 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[2/25] Compiling FlexLayoutYogaKit UIView+Yoga.mm
[2/25] Compiling YGValue.cpp
[2/25] Compiling YGPixelGrid.cpp
[2/25] Compiling YGNodeLayout.cpp
BUILD FAILURE 6.3 macosSpm