Build Information
Failed to build BranchSDK, reference 4.0.0-beta.3 (f05a85), with Swift 6.3 for macOS (SPM) on 17 Oct 2026 19:19:49 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BranchMetrics/ios-branch-sdk-spm.git
Reference: 4.0.0-beta.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/BranchMetrics/ios-branch-sdk-spm
* tag 4.0.0-beta.3 -> FETCH_HEAD
HEAD is now at f05a855 Release 4.0.0-beta.3 Updates
Cloned https://github.com/BranchMetrics/ios-branch-sdk-spm.git
Revision (git rev-parse @):
f05a8552c15d9b992b9de416557db06314bd74a3
SUCCESS checkout https://github.com/BranchMetrics/ios-branch-sdk-spm.git at 4.0.0-beta.3
========================================
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.5.0.app xcrun swift build --arch arm64
Building for debugging...
[0/77] Compiling BranchSDK BNCCurrency.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.
[1/77] Compiling BranchSDK UIViewController+Branch.m
[1/77] Compiling BranchSDK BNCCallbackMap.m
[1/77] Compiling BranchSDK BNCEventUtils.m
[1/77] Compiling BranchSDK BNCDeepLinkViewControllerInstance.m
[1/77] Compiling BranchSDK BNCDeviceSystem.m
[1/77] Compiling BranchSDK BNCApplication.m
[1/77] Compiling BranchSDK BNCContentDiscoveryManager.m
[1/77] Compiling BranchSDK BNCCrashlyticsWrapper.m
[1/77] Compiling BranchSDK BNCConfig.m
[1/77] Compiling BranchSDK BNCDeviceInfo.m
BUILD FAILURE 6.3 macosSpm