Build Information
Failed to build BranchSDK, reference main (4e09d5), with Swift 6.3 for macOS (SPM) on 21 Jul 2026 13:33:38 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BranchMetrics/ios-branch-sdk-spm.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/BranchMetrics/ios-branch-sdk-spm
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4e09d55 Merge pull request #52 from BranchMetrics/chore/add-codeowners
Cloned https://github.com/BranchMetrics/ios-branch-sdk-spm.git
Revision (git rev-parse @):
4e09d550e0f9142fbf9d8ceaa2f6d596305baf56
SUCCESS checkout https://github.com/BranchMetrics/ios-branch-sdk-spm.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "ios-branch-sdk-spm",
"name": "BranchSDK",
"url": "https://github.com/BranchMetrics/ios-branch-sdk-spm.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ios-branch-sdk-spm",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/BranchMetrics/ios-branch-sdk-spm.git
[1/3239] Fetching ios-branch-sdk-spm
Fetched https://github.com/BranchMetrics/ios-branch-sdk-spm.git from cache (1.47s)
Creating working copy for https://github.com/BranchMetrics/ios-branch-sdk-spm.git
Working copy of https://github.com/BranchMetrics/ios-branch-sdk-spm.git resolved at main (4e09d55)
warning: '.resolve-product-dependencies': dependency 'ios-branch-sdk-spm' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/BranchMetrics/ios-branch-sdk-spm.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/74] Copying PrivacyInfo.xcprivacy
[1/74] Compiling NSError+Branch.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/UIViewController+Branch.m:9:
/Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/Private/UIViewController+Branch.h:10:9: fatal error: module 'UIKit' not found
10 | @import UIKit;
| ~~~~~~~^~~~~
1 error generated.
[2/74] Compiling UIViewController+Branch.m
[2/74] Compiling BranchShortUrlSyncRequest.m
[2/74] Compiling BranchSDK resource_bundle_accessor.m
[2/74] Compiling BranchSpotlightUrlRequest.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/BranchScene.m:9:
/Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/Public/BranchScene.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
10 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
[2/74] Compiling NSString+Branch.m
[2/74] Compiling BranchScene.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/BranchShortUrlRequest.m:9:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/Private/BranchShortUrlRequest.h:10:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/Public/Branch.h:18:
/Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/Public/BranchUniversalObject.h:10:9: fatal error: module 'UIKit' not found
10 | @import UIKit;
| ~~~~~~~^~~~~
[2/74] Compiling BranchShortUrlRequest.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/BranchUniversalObject.m:9:
/Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/Public/BranchUniversalObject.h:10:9: fatal error: module 'UIKit' not found
10 | @import UIKit;
| ~~~~~~~^~~~~
[2/74] Compiling BranchUniversalObject.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/BranchShareLink.m:10:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/Public/BranchShareLink.h:11:
/Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/Public/BranchUniversalObject.h:10:9: fatal error: module 'UIKit' not found
10 | @import UIKit;
| ~~~~~~~^~~~~
[2/74] Compiling BranchShareLink.m
[2/74] Compiling NSMutableDictionary+Branch.m
BUILD FAILURE 6.3 macosSpm