Build Information
Failed to build Branch with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mihaelisaev/branch.io.spm.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mihaelisaev/branch.io.spm
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at bf5a705 Trying to reach headers
Cloned https://github.com/mihaelisaev/branch.io.spm.git
Revision (git rev-parse @):
bf5a70522bcf709dab6376eeede86845e8196f21
SUCCESS checkout https://github.com/mihaelisaev/branch.io.spm.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/mihaelisaev/branch.io.spm.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/74] Compiling Branch BNCApplication.m
[1/74] Compiling Branch BNCConfig.m
[1/74] Compiling Branch BNCAppleSearchAds.m
[3/74] Compiling Branch BNCAvailability.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/UIViewController+Branch.m:9:
/Users/admin/builder/spi-builder-workspace/Sources/include/UIViewController+Branch.h:10:9: fatal error: module 'UIKit' not found
10 | @import UIKit;
| ~~~~~~~^~~~~
1 error generated.
[4/74] Compiling Branch UIViewController+Branch.m
[4/74] Compiling Branch NSMutableDictionary+Branch.m
[4/74] Compiling Branch NSString+Branch.m
[4/74] Compiling Branch NSError+Branch.m
[4/74] Compiling Branch BNCAppleAdClient.m
[4/74] Compiling Branch BNCCallbackMap.m
[4/74] Compiling Branch BNCCrashlyticsWrapper.m
[4/74] Compiling Branch BNCAppleReceipt.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BNCContentDiscoveryManager.m:10:
/Users/admin/builder/spi-builder-workspace/Sources/include/Branch.h:11:9: fatal error: module 'UIKit' not found
11 | @import UIKit;
| ~~~~~~~^~~~~
[4/74] Compiling Branch BNCContentDiscoveryManager.m
[4/74] Compiling Branch BNCCommerceEvent.m
BUILD FAILURE 6.0 macosSpm