The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build BranchSDK, reference 3.13.3 (020fdc), with Swift 5.10 for macOS (SPM) on 4 Oct 2025 04:30:58 UTC.

Build Command

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

Build 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: 3.13.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/BranchMetrics/ios-branch-deep-linking-attribution
 * tag               3.13.3     -> FETCH_HEAD
HEAD is now at 020fdc6 Release 3.13.3 Updates. (#1536)
Cloned https://github.com/BranchMetrics/ios-branch-deep-linking-attribution.git
Revision (git rev-parse @):
020fdc6ead00fefd099544e91f978882305143f0
SUCCESS checkout https://github.com/BranchMetrics/ios-branch-deep-linking-attribution.git at 3.13.3
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/BranchMetrics/ios-branch-deep-linking-attribution.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/74] Copying PrivacyInfo.xcprivacy
[1/74] Compiling NSMutableDictionary+Branch.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
@import UIKit;
 ~~~~~~~^~~~~
1 error generated.
[2/74] Compiling UIViewController+Branch.m
[2/74] Compiling BranchSDK resource_bundle_accessor.m
[2/74] Compiling BranchSpotlightUrlRequest.m
[2/74] Compiling BranchShortUrlRequest.m
[2/74] Compiling NSString+Branch.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
@import UIKit;
 ~~~~~~~^~~~~
[2/74] Compiling BranchUniversalObject.m
[2/74] Compiling NSError+Branch.m
[2/74] Compiling BranchShareLink.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/BranchScene.m:9:
/Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/Public/BranchScene.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
#import <UIKit/UIKit.h>
        ^~~~~~~~~~~~~~~
[2/74] Compiling BranchScene.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/BranchShortUrlSyncRequest.m:9:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/Private/BranchShortUrlSyncRequest.h:9:
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
@import UIKit;
 ~~~~~~~^~~~~
[2/74] Compiling BranchShortUrlSyncRequest.m
BUILD FAILURE 5.10 macosSpm