Build Information
Failed to build BranchSDK, reference 4.0.0-alpha (7cc531), with Swift 6.3 for macOS (SPM) on 18 Apr 2026 13:57:00 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BranchMetrics/ios-branch-deep-linking-attribution.git
Reference: 4.0.0-alpha
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/BranchMetrics/ios-branch-deep-linking-attribution
* tag 4.0.0-alpha -> FETCH_HEAD
HEAD is now at 7cc5316 Release 4.0.0-alpha.0 Updates.
Cloned https://github.com/BranchMetrics/ios-branch-deep-linking-attribution.git
Revision (git rev-parse @):
7cc53165063bf43f231170e7fd0ebfba2fd4012d
SUCCESS checkout https://github.com/BranchMetrics/ios-branch-deep-linking-attribution.git at 4.0.0-alpha
========================================
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-deep-linking-attribution",
"name": "BranchSDK",
"url": "https://github.com/BranchMetrics/ios-branch-deep-linking-attribution.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ios-branch-deep-linking-attribution",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/BranchMetrics/ios-branch-deep-linking-attribution.git
[1/49998] Fetching ios-branch-deep-linking-attribution
Fetched https://github.com/BranchMetrics/ios-branch-deep-linking-attribution.git from cache (157.08s)
Creating working copy for https://github.com/BranchMetrics/ios-branch-deep-linking-attribution.git
Working copy of https://github.com/BranchMetrics/ios-branch-deep-linking-attribution.git resolved at 4.0.0-alpha (7cc5316)
warning: '.resolve-product-dependencies': dependency 'ios-branch-deep-linking-attribution' 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-deep-linking-attribution.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/73] Compiling BranchSDK BNCCurrency.m
[1/73] Compiling BranchSDK BNCDeviceSystem.m
[2/73] Compiling BranchSDK BNCCallbackMap.m
[3/73] Compiling BranchSDK BNCConfig.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.
[4/73] Compiling BranchSDK UIViewController+Branch.m
[4/73] Compiling BranchSDK NSError+Branch.m
[4/73] Compiling BranchSDK NSString+Branch.m
[4/73] Compiling BranchSDK BNCDeviceInfo.m
[4/73] Compiling BranchSDK BNCEncodingUtils.m
[4/73] Compiling BranchSDK BNCEventUtils.m
[4/73] Compiling BranchSDK NSMutableDictionary+Branch.m
[4/73] Compiling BranchSDK BNCCrashlyticsWrapper.m
[4/73] Compiling BranchSDK BNCApplication.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/BNCContentDiscoveryManager.m:12:
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;
| ~~~~~~~^~~~~
[4/73] Compiling BranchSDK BNCContentDiscoveryManager.m
BUILD FAILURE 6.3 macosSpm