The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.0.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/UKfvDsi8u/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/UKfvDsi8u/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.9
Building package at path:  $workDir
https://github.com/LeoNatan/LNPopupController.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/29] Compiling LNMath.m
In file included from /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupCustomBarViewController.m:9:
In file included from /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupCustomBarViewController+Private.h:9:
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/include/LNPopupController/LNPopupItem.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[1/29] Compiling LNPopupCustomBarViewController.m
In file included from /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupContentView.m:9:
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupController.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
[1/29] Compiling LNPopupContentView.m
In file included from /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupCloseButton.m:9:
In file included from /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupCloseButton+Private.h:9:
/Users/builder/builds/UKfvDsi8u/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>
        ^~~~~~~~~~~~~~~
[1/29] Compiling LNPopupCloseButton.m
[1/29] Compiling _LNPopupSwizzlingUtils.m
In file included from /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupBarAppearanceChainProxy.m:9:
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupBarAppearanceChainProxy.h:9:9: fatal error: module 'UIKit' not found
@import UIKit;
 ~~~~~~~^~~~~
[1/29] Compiling LNPopupBarAppearanceChainProxy.m
[1/29] Compiling _LNWeakRef.m
[1/29] Compiling _LNPopupUIBarAppearanceProxy.m
In file included from /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupController.m:9:
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/LNPopupController.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
[1/29] Compiling LNPopupController.m
[0/1] Planning build
Building for debugging...
In file included from /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupBarShadowedImageView.m:9:
/Users/builder/builds/UKfvDsi8u/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/28] Compiling _LNPopupBarShadowedImageView.m
In file included from /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupBarBackgroundMaskView.m:9:
/Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupBarBackgroundMaskView.h:9:9: fatal error: module 'UIKit' not found
@import UIKit;
 ~~~~~~~^~~~~
[0/28] Compiling _LNPopupBarBackgroundMaskView.m
In file included from /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupBarBackgroundView.m:9:
/Users/builder/builds/UKfvDsi8u/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/28] Compiling _LNPopupBarBackgroundView.m
In file included from /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupBackgroundShadowView.m:9:
/Users/builder/builds/UKfvDsi8u/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/28] Compiling _LNPopupBackgroundShadowView.m
[0/28] Compiling _LNWeakRef.m
[0/28] Compiling _LNPopupUIBarAppearanceProxy.m
[0/28] Compiling _LNPopupSwizzlingUtils.m
BUILD FAILURE 5.9 macosSpm

Build Machine: Mac 7