The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build FlexLayout, reference master (d5bec8), with Swift 6.0 for macOS (SPM) on 8 Jun 2025 00:53:16 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/layoutbox/flexlayout.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/layoutbox/flexlayout
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at d5bec83 Update version
Cloned https://github.com/layoutbox/flexlayout.git
Revision (git rev-parse @):
d5bec8389cb70a37a37f3575d7502f144c807540
SUCCESS checkout https://github.com/layoutbox/flexlayout.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/layoutbox/flexlayout.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version-5BDAB9E9C0126B9D.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/4] Compiling FlexLayoutYogaKit YGLayout.mm
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>
      |         ^~~~~~~~~~~~~~~
[2/4] Compiling FlexLayoutYogaKit UIView+Yoga.mm
Fetching https://github.com/facebook/yoga.git
[1/41454] Fetching yoga
Fetched https://github.com/facebook/yoga.git from cache (2.76s)
Computing version for https://github.com/facebook/yoga.git
Computed https://github.com/facebook/yoga.git at 3.2.1 (0.54s)
Creating working copy for https://github.com/facebook/yoga.git
Working copy of https://github.com/facebook/yoga.git resolved at 3.2.1
BUILD FAILURE 6.0 macosSpm