The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BranchSDK, reference 4.0.0-beta.3 (f05a85), with Swift 6.2 for macOS (SPM) on 17 Oct 2026 19:12:12 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64

Build 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.2
Building package at path:  $PWD
https://github.com/BranchMetrics/ios-branch-sdk-spm.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/77] Compiling BranchSDK BNCCallbackMap.m
[1/77] Compiling BranchSDK BNCDeviceSystem.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/77] Compiling BranchSDK UIViewController+Branch.m
[2/77] Compiling BranchSDK BNCNetworkInterface.m
[2/77] Compiling BranchSDK BNCInAppBrowser.m
[2/77] Compiling BranchSDK BNCDeepLinkViewControllerInstance.m
[2/77] Compiling BranchSDK NSString+Branch.m
[2/77] Compiling BranchSDK BNCCurrency.m
[2/77] Compiling BranchSDK BNCDeviceInfo.m
[2/77] Compiling BranchSDK BNCContentDiscoveryManager.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/BNCEventUtils.m:9:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/Private/BNCEventUtils.h:12:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/Public/BranchEvent.h:9:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/Public/Branch.h:17:
/Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/Public/BranchInterface.h:15:9: fatal error: 'UIKit/UIKit.h' file not found
   15 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[2/77] Compiling BranchSDK BNCEventUtils.m
[2/77] Compiling BranchSDK BNCConfig.m
BUILD FAILURE 6.2 macosSpm