Build Information
Failed to build Bagel 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/yagiz/Bagel.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/yagiz/Bagel
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 763aadb Merge pull request #69 from techinpark/feature/update-readme
Cloned https://github.com/yagiz/Bagel.git
Revision (git rev-parse @):
763aadbf6a099681a66e69522f902e33094f6a55
SUCCESS checkout https://github.com/yagiz/Bagel.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/yagiz/Bagel.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/13] Compiling Bagel BagelDeviceModel.m
In file included from /Users/admin/builder/spi-builder-workspace/iOS/Source/BagelUtility.m:22:
/Users/admin/builder/spi-builder-workspace/iOS/Source/BagelUtility.h:23:9: fatal error: 'UIKit/UIKit.h' file not found
23 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
1 error generated.
[1/13] Compiling Bagel BagelUtility.m
[1/13] Compiling Bagel BagelProjectModel.m
[1/13] Compiling Bagel BagelConfiguration.m
[1/13] Compiling Bagel BagelRequestCarrier.m
[1/13] Compiling Bagel BagelController.m
[1/13] Compiling Bagel BagelURLSessionInjector.m
[1/13] Compiling Bagel BagelRequestPacket.m
In file included from /Users/admin/builder/spi-builder-workspace/iOS/Source/BagelBrowser.m:22:
In file included from /Users/admin/builder/spi-builder-workspace/iOS/Source/BagelBrowser.h:23:
In file included from /Users/admin/builder/spi-builder-workspace/iOS/Source/BagelConfiguration.h:26:
/Users/admin/builder/spi-builder-workspace/iOS/Source/BagelUtility.h:23:9: fatal error: 'UIKit/UIKit.h' file not found
23 | #import <UIKit/UIKit.h>
| ^~~~~~~~~~~~~~~
[1/13] Compiling Bagel BagelBrowser.m
[1/13] Compiling Bagel BagelRequestInfo.m
[1/13] Compiling Bagel BagelURLConnectionInjector.m
Fetching https://github.com/robbiehanson/CocoaAsyncSocket.git
[1/6417] Fetching cocoaasyncsocket
Fetched https://github.com/robbiehanson/CocoaAsyncSocket.git from cache (1.44s)
Computing version for https://github.com/robbiehanson/CocoaAsyncSocket.git
Computed https://github.com/robbiehanson/CocoaAsyncSocket.git at 7.6.5 (0.71s)
Creating working copy for https://github.com/robbiehanson/CocoaAsyncSocket.git
Working copy of https://github.com/robbiehanson/CocoaAsyncSocket.git resolved at 7.6.5
BUILD FAILURE 6.0 macosSpm