Build Information
Failed to build BranchSDK, reference 4.0.0-alpha (7cc531), with Swift 6.0 for macOS (SPM) on 3 Mar 2026 05:50:29 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/BranchMetrics/ios-branch-deep-linking-attribution.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
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.
[0/73] Compiling BranchSDK UIViewController+Branch.m
[0/73] Compiling BranchSDK BNCInitSessionResponse.m
/Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/BNCInAppBrowser.m:9:6: warning: 'TARGET_OS_TV' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
9 | #if !TARGET_OS_TV
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/BNCInAppBrowser.m:11:
/Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/Private/BNCInAppBrowser.h:9:6: warning: 'TARGET_OS_TV' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
9 | #if !TARGET_OS_TV
| ^
[0/73] Compiling BranchSDK BNCInAppBrowser.m
[0/73] Compiling BranchSDK BNCCrashlyticsWrapper.m
[0/73] Compiling BranchSDK BNCJSONUtility.m
[0/73] Compiling BranchSDK BNCEventUtils.m
[0/73] Compiling BranchSDK BNCCallbackMap.m
/Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/BNCContentDiscoveryManager.m:9:6: warning: 'TARGET_OS_TV' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
9 | #if !TARGET_OS_TV
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/BNCContentDiscoveryManager.m:11:
/Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/Private/BNCContentDiscoveryManager.h:9:6: warning: 'TARGET_OS_TV' is not defined, evaluates to 0 [-Wundef-prefix=TARGET_OS_]
9 | #if !TARGET_OS_TV
| ^
[0/73] Compiling BranchSDK BNCContentDiscoveryManager.m
[0/73] Compiling BranchSDK BNCDeviceSystem.m
[0/73] Compiling BranchSDK BNCDeepLinkViewControllerInstance.m
BUILD FAILURE 6.0 macosSpm