The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LNPopupUI with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.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: 1.7.4
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/LeoNatan/LNPopupUI
 * tag               1.7.4      -> FETCH_HEAD
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/0/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 1.7.4
Fetching https://github.com/LeoNatan/LNPopupController.git from cache
Fetching https://github.com/LeoNatan/LNSwiftUIUtils.git from cache
Fetched https://github.com/LeoNatan/LNSwiftUIUtils.git from cache (0.20s)
Fetched https://github.com/LeoNatan/LNPopupController.git from cache (0.21s)
Computing version for https://github.com/LeoNatan/LNSwiftUIUtils.git
Computed https://github.com/LeoNatan/LNSwiftUIUtils.git at 1.1.1 (0.41s)
Computing version for https://github.com/LeoNatan/LNPopupController.git
Computed https://github.com/LeoNatan/LNPopupController.git at 2.18.8 (0.36s)
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "lnpopupui",
      "name": "LNPopupUI",
      "url": "https://github.com/LeoNatan/LNPopupUI.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LNPopupUI",
      "dependencies": [
        {
          "identity": "lnpopupcontroller",
          "name": "LNPopupController",
          "url": "https://github.com/LeoNatan/LNPopupController.git",
          "version": "2.18.8",
          "path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LNPopupController",
          "dependencies": [
          ]
        },
        {
          "identity": "lnswiftuiutils",
          "name": "LNSwiftUIUtils",
          "url": "https://github.com/LeoNatan/LNSwiftUIUtils.git",
          "version": "1.1.1",
          "path": "/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/LNSwiftUIUtils",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/LeoNatan/LNPopupUI.git
[1/1654] Fetching lnpopupui
Fetched https://github.com/LeoNatan/LNPopupUI.git from cache (29.28s)
Fetching https://github.com/LeoNatan/LNPopupController.git from cache
Fetching https://github.com/LeoNatan/LNSwiftUIUtils.git from cache
Fetched https://github.com/LeoNatan/LNSwiftUIUtils.git from cache (0.17s)
Fetched https://github.com/LeoNatan/LNPopupController.git from cache (0.19s)
Computing version for https://github.com/LeoNatan/LNSwiftUIUtils.git
Computed https://github.com/LeoNatan/LNSwiftUIUtils.git at 1.1.1 (0.02s)
Computing version for https://github.com/LeoNatan/LNPopupController.git
Computed https://github.com/LeoNatan/LNPopupController.git at 2.18.8 (0.02s)
Creating working copy for https://github.com/LeoNatan/LNSwiftUIUtils.git
Working copy of https://github.com/LeoNatan/LNSwiftUIUtils.git resolved at 1.1.1
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/LNPopupUI.git
Working copy of https://github.com/LeoNatan/LNPopupUI.git resolved at 1.7.4 (3f4b503)
warning: '.resolve-product-dependencies': dependency 'lnpopupui' is not used by any target
Found 2 product dependencies
  - LNPopupController
  - LNSwiftUIUtils
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/LeoNatan/LNPopupUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/37] Compiling NSAttributedString+LNPopupSupport.m
In file included from /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/UIView+LNPopupSupportPrivate.m:9:
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/UIView+LNPopupSupportPrivate.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
1 error generated.
[1/37] Compiling UIView+LNPopupSupportPrivate.m
In file included from /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/UIContextMenuInteraction+LNPopupSupportPrivate.m:9:
In file included from /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/UIViewController+LNPopupSupportPrivate.h:9:
/Users/builder/builds/TDmZkXJm/0/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>
        ^~~~~~~~~~~~~~~
In file included from /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/LNPopupLongPressGestureRecognizer.m:9:
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/LNPopupLongPressGestureRecognizer.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
[1/37] Compiling LNPopupLongPressGestureRecognizer.m
In file included from /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/LNPopupInteractionPanGestureRecognizer.m:9:
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/LNPopupInteractionPanGestureRecognizer.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
[1/37] Compiling LNPopupInteractionPanGestureRecognizer.m
In file included from /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/LNPopupCustomBarViewController.m:9:
In file included from /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/LNPopupCustomBarViewController+Private.h:9:
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/include/LNPopupController/LNPopupItem.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
[1/37] Compiling LNPopupCustomBarViewController.m
In file included from /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/LNPopupItem.m:9:
In file included from /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/LNPopupItem+Private.h:9:
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/include/LNPopupController/LNPopupItem.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
[1/37] Compiling LNPopupItem.m
[1/37] Compiling UIContextMenuInteraction+LNPopupSupportPrivate.m
[1/37] Compiling LNMath.m
[30/37] Write swift-version-6044DDE57671499D.txt
[0/1] Planning build
Building for debugging...
[0/36] Write sources
In file included from /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/_LNPopupBarBackgroundView.m:9:
/Users/builder/builds/TDmZkXJm/0/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>
        ^~~~~~~~~~~~~~~
1 error generated.
[0/37] Compiling _LNPopupBarBackgroundView.m
In file included from /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/_LNPopupBackgroundShadowView.m:9:
/Users/builder/builds/TDmZkXJm/0/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>
        ^~~~~~~~~~~~~~~
[0/37] Compiling _LNPopupBackgroundShadowView.m
In file included from /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/_LNPopupBarBackgroundMaskView.m:9:
/Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/_LNPopupBarBackgroundMaskView.h:9:9: fatal error: module 'UIKit' not found
@import UIKit;
 ~~~~~~~^~~~~
[0/37] Compiling _LNPopupBarBackgroundMaskView.m
[0/37] Compiling _LNPopupUIBarAppearanceProxy.m
[0/37] Compiling _LNPopupSwizzlingUtils.m
In file included from /Users/builder/builds/TDmZkXJm/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/LNPopupController/LNPopupController/LNPopupController/Private/_LNPopupBarShadowedImageView.m:9:
/Users/builder/builds/TDmZkXJm/0/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/37] Compiling _LNPopupBarShadowedImageView.m
[28/36] Compiling _LNWeakRef.m
[28/36] Write swift-version-6044DDE57671499D.txt
BUILD FAILURE 5.10 macosSpm