The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LNPopupController with Swift 5.8 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.33.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LeoNatan/LNPopupController.git
Reference: 2.18.8
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/LeoNatan/LNPopupController
 * tag               2.18.8     -> FETCH_HEAD
HEAD is now at ea00807 2.18.8
Submodule path 'LNPopupSettings': checked out '8ab95168805498f3cce5eb77064abf19d93a56d2'
Submodule 'LNPopupSettings' (https://github.com/LeoNatan/LNPopupSettings.git) registered for path 'LNPopupSettings'
Cloning into '/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupSettings'...
Cloned https://github.com/LeoNatan/LNPopupController.git
Revision (git rev-parse @):
ea0080748e9aea9d867068823e92dae71944df8f
SUCCESS checkout https://github.com/LeoNatan/LNPopupController.git at 2.18.8
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $workDir
https://github.com/LeoNatan/LNPopupController.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
In file included from /Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupBarAppearance.m:9:
In file included from /Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupBarAppearance+Private.h:9:
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/include/LNPopupController/LNPopupBarAppearance.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/29] Compiling LNPopupBarAppearance.m
[0/29] Compiling _LNWeakRef.m
[0/29] Compiling _LNPopupUIBarAppearanceProxy.m
[0/29] Compiling LNForwardingDelegate.m
In file included from /Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupCloseButton.m:9:
In file included from /Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupCloseButton+Private.h:9:
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/include/LNPopupController/LNPopupCloseButton.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
[0/29] Compiling LNPopupCloseButton.m
[0/29] Compiling LNMath.m
In file included from /Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupBar.m:9:
In file included from /Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupBar+Private.h:9:
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/include/LNPopupController/LNPopupBar.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
In file included from /Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupBarAppearanceChainProxy.m:9:
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupBarAppearanceChainProxy.h:9:9: fatal error: module 'UIKit' not found
@import UIKit;
 ~~~~~~~^~~~~
[0/29] Compiling LNPopupBar.m
[0/29] Compiling LNPopupBarAppearanceChainProxy.m
[0/1] Planning build
Building for debugging...
In file included from /Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupBarBackgroundView.m:9:
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupBarBackgroundView.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/29] Compiling _LNPopupBarBackgroundView.m
In file included from /Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupBackgroundShadowView.m:9:
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupBackgroundShadowView.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
[0/29] Compiling _LNPopupBackgroundShadowView.m
[0/29] Compiling _LNPopupBarBackgroundMaskView.m
[0/29] Compiling _LNWeakRef.m
[0/29] Compiling _LNPopupUIBarAppearanceProxy.m
In file included from /Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupBarShadowedImageView.m:9:
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupBarShadowedImageView.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/29] Compiling _LNPopupBarShadowedImageView.m
[0/29] Compiling _LNPopupSwizzlingUtils.m
BUILD FAILURE 5.8 macosSpm

Build Machine: Mac 5