Build Information
Failed to build Branch with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mihaelisaev/branch.io.spm.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/mihaelisaev/branch.io.spm
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at bf5a705 Trying to reach headers
Cloned https://github.com/mihaelisaev/branch.io.spm.git
Revision (git rev-parse @):
bf5a70522bcf709dab6376eeede86845e8196f21
SUCCESS checkout https://github.com/mihaelisaev/branch.io.spm.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "branch.io.spm",
"name": "Branch",
"url": "https://github.com/mihaelisaev/branch.io.spm.git",
"version": "unspecified",
"path": "/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/branch.io.spm",
"dependencies": [
]
}
]
}
Fetching https://github.com/mihaelisaev/branch.io.spm.git
[1/187] Fetching branch.io.spm
Fetched https://github.com/mihaelisaev/branch.io.spm.git (0.33s)
Creating working copy for https://github.com/mihaelisaev/branch.io.spm.git
Working copy of https://github.com/mihaelisaev/branch.io.spm.git resolved at master
warning: '.resolve-product-dependencies': dependency 'branch.io.spm' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
In file included from /Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BranchCrossPlatformID.m:10:
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/include/BranchCPIDRequest.h:9:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
^~~~~~~~~~~~~~~
1 error generated.
[0/73] Compiling Branch BranchCrossPlatformID.m
[0/73] Compiling Branch BranchCreditHistoryRequest.m
[0/73] Compiling Branch BranchConstants.m
[0/73] Compiling Branch BranchContentDiscoveryManifest.m
[0/73] Compiling Branch BranchCSSearchableItemAttributeSet.m
[0/73] Compiling Branch BranchCloseRequest.m
[0/73] Compiling Branch BranchContentPathProperties.m
[0/73] Compiling Branch BranchContentDiscoverer.m
[0/1] Planning build
Building for debugging...
In file included from /Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/UIViewController+Branch.m:9:
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/include/UIViewController+Branch.h:10:9: fatal error: module 'UIKit' not found
@import UIKit;
~~~~~~~^~~~~
1 error generated.
[0/73] Compiling Branch UIViewController+Branch.m
[0/73] Compiling Branch NSMutableDictionary+Branch.m
[0/73] Compiling Branch BranchSpotlightUrlRequest.m
[0/73] Compiling Branch NSError+Branch.m
[0/73] Compiling Branch BranchUserCompletedActionRequest.m
[0/73] Compiling Branch NSString+Branch.m
[0/73] Compiling Branch BranchShortUrlSyncRequest.m
In file included from /Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/BranchUniversalObject.m:9:
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/include/BranchUniversalObject.h:10:9: fatal error: module 'UIKit' not found
@import UIKit;
~~~~~~~^~~~~
[0/73] Compiling Branch BranchUniversalObject.m
BUILD FAILURE 5.9 macosSpm