Build Information
Failed to build BranchSDK, reference 3.6.5 (93340f
), with Swift 5.10 for macOS (SPM) on 24 Oct 2024 04:02:44 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.55.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BranchMetrics/ios-branch-sdk-spm.git
Reference: 3.6.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/BranchMetrics/ios-branch-sdk-spm
* tag 3.6.5 -> FETCH_HEAD
HEAD is now at 93340fd Release 3.6.5
Cloned https://github.com/BranchMetrics/ios-branch-sdk-spm.git
Revision (git rev-parse @):
93340fd2b38401a91bc5b2e044b21f7bdd8ea80f
SUCCESS checkout https://github.com/BranchMetrics/ios-branch-sdk-spm.git at 3.6.5
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/BranchMetrics/ios-branch-sdk-spm.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/71] Copying PrivacyInfo.xcprivacy
[1/71] Compiling NSMutableDictionary+Branch.m
[2/71] Compiling BranchSDK resource_bundle_accessor.m
[3/71] Compiling NSError+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.
[4/71] 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>
^~~~~~~~~~~~~~~
[4/71] Compiling BranchScene.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
@import UIKit;
~~~~~~~^~~~~
[4/71] Compiling BranchShortUrlRequest.m
[4/71] Compiling BranchQRCode.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
@import UIKit;
~~~~~~~^~~~~
[4/71] Compiling BranchSpotlightUrlRequest.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;
~~~~~~~^~~~~
[4/71] Compiling BranchShareLink.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;
~~~~~~~^~~~~
[4/71] Compiling NSString+Branch.m
[4/71] Compiling BranchShortUrlSyncRequest.m
In file included from /Users/admin/builder/spi-builder-workspace/Sources/BranchSDK/BranchPluginSupport.m:13:
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;
~~~~~~~^~~~~
[4/71] Compiling BranchPluginSupport.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;
~~~~~~~^~~~~
[4/71] Compiling BranchUniversalObject.m
BUILD FAILURE 5.10 macosSpm