Build Information
Failed to build LNPopupController with Swift 5.7 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.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/admin/builds/Z6YBxSjp/0/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/admin/builds/Z6YBxSjp/0/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.7
Building package at path: $workDir
https://github.com/LeoNatan/LNPopupController.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.2.0.app xcrun swift build --arch arm64
Building for debugging...
In file included from /Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupBarShadowedImageView.m:9:
/Users/admin/builds/Z6YBxSjp/0/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
[0/29] Compiling _LNPopupUIBarAppearanceProxy.m
[0/29] Compiling _LNWeakRef.m
[0/1] Planning build
Building for debugging...
In file included from /Users/admin/builds/Z6YBxSjp/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/LNPopupController/LNPopupController/Private/_LNPopupBarShadowedImageView.m:9:
/Users/admin/builds/Z6YBxSjp/0/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 _LNWeakRef.m
[0/29] Compiling _LNPopupUIBarAppearanceProxy.m
[0/29] Compiling _LNPopupSwizzlingUtils.m
BUILD FAILURE 5.7 macosSpm