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 main (26d4a4), with Swift 6.0 for macOS (SPM) on 21 May 2025 00:22:35 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.6
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BranchMetrics/ios-branch-sdk-spm.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/BranchMetrics/ios-branch-sdk-spm
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 26d4a43 Release 3.12.1 Updates.
Cloned https://github.com/BranchMetrics/ios-branch-sdk-spm.git
Revision (git rev-parse @):
26d4a43d7b8bda3ecb2a88eabc0d7c09d4baa8b7
SUCCESS checkout https://github.com/BranchMetrics/ios-branch-sdk-spm.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/BranchMetrics/ios-branch-sdk-spm.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/74] Copying PrivacyInfo.xcprivacy
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/74] Compiling UIViewController+Branch.m
[1/74] Compiling BranchScene.m
[1/74] Compiling NSMutableDictionary+Branch.m
[1/74] Compiling BranchShortUrlSyncRequest.m
[1/74] Compiling NSError+Branch.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/BranchShareLink.m:10:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/Public/BranchShareLink.h:11:
/Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/Public/BranchUniversalObject.h:10:9: fatal error: module 'UIKit' not found
   10 | @import UIKit;
      |  ~~~~~~~^~~~~
[1/74] Compiling BranchShareLink.m
[1/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
   10 | @import UIKit;
      |  ~~~~~~~^~~~~
[1/74] Compiling BranchUniversalObject.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/BranchShortUrlRequest.m:9:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/Private/BranchShortUrlRequest.h:10:
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
   10 | @import UIKit;
      |  ~~~~~~~^~~~~
[1/74] Compiling BranchShortUrlRequest.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/BranchSpotlightUrlRequest.m:9:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/Private/BranchSpotlightUrlRequest.h:9:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/Private/BranchShortUrlRequest.h:10:
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
   10 | @import UIKit;
      |  ~~~~~~~^~~~~
[1/74] Compiling BranchSpotlightUrlRequest.m
BUILD FAILURE 6.0 macosSpm