The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LNPopupUI 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.34.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LeoNatan/LNPopupUI.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/LeoNatan/LNPopupUI
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 3f4b503 1.7.4
Submodule path 'LNPopupSettings': checked out '8ab95168805498f3cce5eb77064abf19d93a56d2'
Submodule 'LNPopupSettings' (https://github.com/LeoNatan/LNPopupSettings.git) registered for path 'LNPopupSettings'
Cloning into '/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupSettings'...
Cloned https://github.com/LeoNatan/LNPopupUI.git
Revision (git rev-parse @):
3f4b5039823235e567c32e458841b93189132d4a
SUCCESS checkout https://github.com/LeoNatan/LNPopupUI.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $workDir
https://github.com/LeoNatan/LNPopupUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
In file included from /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/LNChevronView.m:8:
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/LNChevronView.h:14:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling LNChevronView.m
In file included from /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/MarqueeLabel.m:9:
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/MarqueeLabel.h:19:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
[0/30] Compiling MarqueeLabel.m
[0/30] Compiling LNMath.m
[0/30] Compiling NSAttributedString+LNPopupSupport.m
In file included from /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/UIContextMenuInteraction+LNPopupSupportPrivate.m:9:
In file included from /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/UIViewController+LNPopupSupportPrivate.h:9:
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/include/LNPopupController/UIViewController+LNPopupSupport.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
[0/30] Compiling UIContextMenuInteraction+LNPopupSupportPrivate.m
[0/30] Compiling LNForwardingDelegate.m
In file included from /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/LNPopupBar.m:9:
In file included from /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/LNPopupBar+Private.h:9:
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/include/LNPopupController/LNPopupBar.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
[0/30] Compiling LNPopupBar.m
Fetching https://github.com/LeoNatan/LNSwiftUIUtils.git from cache
Fetching https://github.com/LeoNatan/LNPopupController.git from cache
Fetched https://github.com/LeoNatan/LNSwiftUIUtils.git (0.19s)
Fetched https://github.com/LeoNatan/LNPopupController.git (0.49s)
Computing version for https://github.com/LeoNatan/LNSwiftUIUtils.git
Computed https://github.com/LeoNatan/LNSwiftUIUtils.git at 1.1.1 (0.39s)
Computing version for https://github.com/LeoNatan/LNPopupController.git
Computed https://github.com/LeoNatan/LNPopupController.git at 2.18.8 (0.39s)
Creating working copy for https://github.com/LeoNatan/LNPopupController.git
Working copy of https://github.com/LeoNatan/LNPopupController.git resolved at 2.18.8
Creating working copy for https://github.com/LeoNatan/LNSwiftUIUtils.git
Working copy of https://github.com/LeoNatan/LNSwiftUIUtils.git resolved at 1.1.1
[0/1] Planning build
Building for debugging...
In file included from /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/_LNPopupBackgroundShadowView.m:9:
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/_LNPopupBackgroundShadowView.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/30] Compiling _LNPopupBackgroundShadowView.m
In file included from /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/_LNPopupBarShadowedImageView.m:9:
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/_LNPopupBarShadowedImageView.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
[0/30] Compiling _LNPopupBarShadowedImageView.m
[0/30] Compiling _LNPopupBarBackgroundMaskView.m
[0/30] Compiling _LNWeakRef.m
[0/30] Compiling _LNPopupSwizzlingUtils.m
In file included from /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/_LNPopupBarBackgroundView.m:9:
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/_LNPopupBarBackgroundView.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
[0/30] Compiling _LNPopupBarBackgroundView.m
[0/30] Compiling _LNPopupUIBarAppearanceProxy.m
BUILD FAILURE 5.9 macosSpm