Build Information
Failed to build YNetwork, reference main (840a53
), with Swift 5.10 for macOS (SPM) on 24 Sep 2024 09:23:58 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.54.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/codeandtheory/ynetwork-ios.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/codeandtheory/ynetwork-ios
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 840a537 Issue 18 - Adding Upload Completion Handler for Handling Custom/Error… (#19)
Cloned https://github.com/codeandtheory/ynetwork-ios.git
Revision (git rev-parse @):
840a537e515bd0822827183dcd1639e876971dc5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/codeandtheory/ynetwork-ios.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "ynetwork-ios",
"name": "YNetwork",
"url": "https://github.com/codeandtheory/ynetwork-ios.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ynetwork-ios",
"dependencies": [
]
}
]
}
Fetching https://github.com/codeandtheory/ynetwork-ios.git
[9/439] Fetching ynetwork-ios
Fetched https://github.com/codeandtheory/ynetwork-ios.git from cache (1.47s)
Creating working copy for https://github.com/codeandtheory/ynetwork-ios.git
Working copy of https://github.com/codeandtheory/ynetwork-ios.git resolved at main (840a537)
warning: '.resolve-product-dependencies': dependency 'ynetwork-ios' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/codeandtheory/ynetwork-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/60] Emitting module YNetwork
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[4/66] Compiling YNetwork NetworkEngine.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[5/66] Compiling YNetwork NetworkRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[6/66] Compiling YNetwork ParametersBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[7/66] Compiling YNetwork PathRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[8/66] Compiling YNetwork SessionManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[9/66] Compiling YNetwork UIImageMultipartFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[10/66] Compiling YNetwork DataEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[11/66] Compiling YNetwork DataParserFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[12/66] Compiling YNetwork JWTTokenRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[13/66] Compiling YNetwork MultipartBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[14/66] Compiling YNetwork MultipartFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[15/66] Compiling YNetwork MultipartRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[16/66] Compiling YNetwork StringInterpolation+URLRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[17/66] Compiling YNetwork URLRequest+FileSaver.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[18/66] Compiling YNetwork EmptyNetworkResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[19/66] Compiling YNetwork HttpError.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[20/66] Compiling YNetwork JWTClaim.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[21/66] Compiling YNetwork JWTToken.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[22/66] Compiling YNetwork GifBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[23/66] Compiling YNetwork ImageBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[24/66] Compiling YNetwork MultiImageBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[25/66] Compiling YNetwork FormUrlEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[26/66] Compiling YNetwork JSONDataParserFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[27/66] Compiling YNetwork JSONDecoder+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[28/66] Compiling YNetwork NetworkManager+URLSessionTaskDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[29/66] Compiling YNetwork NetworkManager+refresh.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[30/66] Compiling YNetwork NetworkManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[31/66] Compiling YNetwork NetworkManagerConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[32/66] Compiling YNetwork FileDownloadProgress.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[33/66] Compiling YNetwork FileProgress.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[34/66] Compiling YNetwork FileUploadProgress.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[35/66] Compiling YNetwork URLBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[36/66] Compiling YNetwork URLNetworkEngine.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[37/66] Compiling YNetwork BodyBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[38/66] Compiling YNetwork Cancelabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[39/66] Compiling YNetwork DataDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[40/66] Compiling YNetwork ImageContentType.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[41/66] Compiling YNetwork JWTDecodeError.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[42/66] Compiling YNetwork MultipartElement.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[43/66] Compiling YNetwork NetworkError.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[44/66] Compiling YNetwork RequestContentType.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[45/66] Compiling YNetwork ResponseContentType.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[46/66] Compiling YNetwork SerializationError.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[47/66] Compiling YNetwork String+regex.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[48/66] Compiling YNetwork APICompletion.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[49/66] Compiling YNetwork HttpHeader.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[50/66] Compiling YNetwork NetworkEngineCompletion.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[51/66] Compiling YNetwork Parameters.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[52/66] Compiling YNetwork HttpMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[53/66] Compiling YNetwork HttpResponseType.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[54/66] Compiling YNetwork JSONEncoder+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[55/66] Compiling YNetwork URLProtocolStub.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[56/66] Compiling YNetwork URLProtocolStubNetworkEngine.swift.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[57/66] Compiling YNetwork NetworkEngineConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[58/66] Compiling YNetwork NetworkManager+Logging.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[59/66] Compiling YNetwork NetworkManager+URLSessionDownloadDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[60/66] Compiling YNetwork UIImageDataType.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[61/66] Compiling YNetwork CharacterSet+formUrlAllowed.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[62/66] Compiling YNetwork Data+AppendString.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[63/66] Compiling YNetwork Data+HttpResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[64/66] Compiling YNetwork Error+Code.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[65/66] Compiling YNetwork String+isAbsoluteURLPath.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[66/66] Compiling YNetwork StringInterpolation+JSON.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.10 macosSpm