Build Information
Failed to build BranchSDK, reference 4.0.0-alpha (7cc531), with Swift 6.1 for macOS (SPM) on 3 Mar 2026 05:50:28 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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.1
Building package at path: $PWD
https://github.com/BranchMetrics/ios-branch-deep-linking-attribution.git
https://github.com/BranchMetrics/ios-branch-deep-linking-attribution.git
{
"dependencies" : [
],
"manifest_display_name" : "BranchSDK",
"name" : "BranchSDK",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "BranchSDK",
"targets" : [
"BranchSDK"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BranchSDK",
"module_type" : "ClangTarget",
"name" : "BranchSDK",
"path" : "Sources/BranchSDK",
"product_memberships" : [
"BranchSDK"
],
"sources" : [
"BNCAppGroupsData.m",
"BNCApplication.m",
"BNCCallbackMap.m",
"BNCConfig.m",
"BNCContentDiscoveryManager.m",
"BNCCrashlyticsWrapper.m",
"BNCCurrency.m",
"BNCDeepLinkViewControllerInstance.m",
"BNCDeviceInfo.m",
"BNCDeviceSystem.m",
"BNCEncodingUtils.m",
"BNCEventUtils.m",
"BNCInAppBrowser.m",
"BNCInitSessionResponse.m",
"BNCJSONUtility.m",
"BNCKeyChain.m",
"BNCLinkCache.m",
"BNCLinkData.m",
"BNCNetworkInterface.m",
"BNCNetworkService.m",
"BNCODMInfoCollector.m",
"BNCPartnerParameters.m",
"BNCPasteboard.m",
"BNCPreferenceHelper.m",
"BNCProductCategory.m",
"BNCQRCodeCache.m",
"BNCReachability.m",
"BNCReferringURLUtility.m",
"BNCRequestFactory.m",
"BNCSKAdNetwork.m",
"BNCServerAPI.m",
"BNCServerInterface.m",
"BNCServerRequest.m",
"BNCServerRequestOperation.m",
"BNCServerRequestQueue.m",
"BNCServerResponse.m",
"BNCSpotlightService.m",
"BNCSystemObserver.m",
"BNCURLFilter.m",
"BNCUrlQueryParameter.m",
"BNCUserAgentCollector.m",
"Branch+Validator.m",
"Branch.m",
"BranchActivityItemProvider.m",
"BranchCSSearchableItemAttributeSet.m",
"BranchConfigurationController.m",
"BranchConstants.m",
"BranchContentDiscoverer.m",
"BranchContentDiscoveryManifest.m",
"BranchContentPathProperties.m",
"BranchDelegate.m",
"BranchEvent.m",
"BranchFileLogger.m",
"BranchInstallRequest.m",
"BranchJsonConfig.m",
"BranchLATDRequest.m",
"BranchLastAttributedTouchData.m",
"BranchLinkProperties.m",
"BranchLogger.m",
"BranchOpenRequest.m",
"BranchPasteControl.m",
"BranchPluginSupport.m",
"BranchQRCode.m",
"BranchScene.m",
"BranchShareLink.m",
"BranchShortUrlRequest.m",
"BranchShortUrlSyncRequest.m",
"BranchSpotlightUrlRequest.m",
"BranchUniversalObject.m",
"NSError+Branch.m",
"NSMutableDictionary+Branch.m",
"NSString+Branch.m",
"UIViewController+Branch.m"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/BNCDeepLinkViewControllerInstance.m:9:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/Private/BNCDeepLinkViewControllerInstance.h:9:
/Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/Public/BranchDeepLinkingController.h:11:9: fatal error: module 'UIKit' not found
11 | @import UIKit;
| ~~~~~~~^~~~~
1 error generated.
[0/73] Compiling BranchSDK BNCDeepLinkViewControllerInstance.m
[0/73] Compiling BranchSDK BNCNetworkService.m
[0/73] Compiling BranchSDK BNCLinkData.m
[0/73] Compiling BranchSDK BNCConfig.m
[0/73] Compiling BranchSDK BNCNetworkInterface.m
[0/73] Compiling BranchSDK BNCContentDiscoveryManager.m
[0/73] Compiling BranchSDK BNCCallbackMap.m
[0/73] Compiling BranchSDK BNCCurrency.m
[0/73] Compiling BranchSDK BNCCrashlyticsWrapper.m
[0/73] Compiling BranchSDK BNCDeviceSystem.m
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
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 BranchScene.m
[0/73] Compiling BranchSDK NSError+Branch.m
[0/73] Compiling BranchSDK BranchShareLink.m
[0/73] Compiling BranchSDK BranchShortUrlSyncRequest.m
[0/73] Compiling BranchSDK NSMutableDictionary+Branch.m
[0/73] Compiling BranchSDK NSString+Branch.m
[0/73] Compiling BranchSDK BranchSpotlightUrlRequest.m
[0/73] Compiling BranchSDK 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;
| ~~~~~~~^~~~~
[0/73] Compiling BranchSDK BranchUniversalObject.m
BUILD FAILURE 6.1 macosSpm