The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build BranchSDK, reference main (590f25), with Swift 5.9 for macOS (SPM) on 5 May 2025 19:34:14 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.3
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 590f25b Release 3.11.0 Updates.
Cloned https://github.com/BranchMetrics/ios-branch-sdk-spm.git
Revision (git rev-parse @):
590f25bc3fa226b4ec2172d2fe45e43487b984fd
SUCCESS checkout https://github.com/BranchMetrics/ios-branch-sdk-spm.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/BranchMetrics/ios-branch-sdk-spm.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/73] Copying PrivacyInfo.xcprivacy
[1/73] Compiling BranchSDK resource_bundle_accessor.m
[2/73] 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.
[3/73] Compiling UIViewController+Branch.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>
        ^~~~~~~~~~~~~~~
[3/73] Compiling BranchScene.m
[3/73] Compiling BranchShortUrlRequest.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
@import UIKit;
 ~~~~~~~^~~~~
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;
 ~~~~~~~^~~~~
[3/73] Compiling BranchUniversalObject.m
[3/73] Compiling BranchQRCode.m
[3/73] Compiling BranchShareLink.m
[3/73] Compiling BranchSpotlightUrlRequest.m
[3/73] Compiling NSError+Branch.m
[3/73] Compiling NSString+Branch.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;
 ~~~~~~~^~~~~
[3/73] Compiling BranchShortUrlSyncRequest.m
BUILD FAILURE 5.9 macosSpm