Build Information
Failed to build YNetwork, reference 1.0.2 (840a53
), with Swift 5.9 for macOS (SPM) on 24 Sep 2024 09:22:23 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.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: 1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/codeandtheory/ynetwork-ios
* tag 1.0.2 -> FETCH_HEAD
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 1.0.2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD
https://github.com/codeandtheory/ynetwork-ios.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/58] Emitting module YNetwork
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[2/64] Compiling YNetwork UIImageDataType.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[3/64] 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
^
[4/64] 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
^
[5/64] 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
^
[6/64] 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
^
[7/64] 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
^
[8/64] 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
^
[9/64] 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
^
[10/64] Compiling YNetwork APICompletion.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[11/64] Compiling YNetwork HttpHeader.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[12/64] Compiling YNetwork NetworkEngineCompletion.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[13/64] Compiling YNetwork Parameters.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[14/64] Compiling YNetwork HttpMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[15/64] Compiling YNetwork HttpResponseType.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[16/64] Compiling YNetwork NetworkEngine.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[17/64] Compiling YNetwork NetworkRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[18/64] Compiling YNetwork ParametersBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[19/64] Compiling YNetwork PathRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[20/64] Compiling YNetwork SessionManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[21/64] Compiling YNetwork UIImageMultipartFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[22/64] 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/64] 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/64] 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/64] 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/64] 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/64] 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/64] Compiling YNetwork FileUploadProgress.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[29/64] Compiling YNetwork URLBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[30/64] Compiling YNetwork URLNetworkEngine.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[31/64] Compiling YNetwork BodyBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[32/64] Compiling YNetwork Cancelabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[33/64] Compiling YNetwork DataDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[34/64] Compiling YNetwork DataEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[35/64] Compiling YNetwork DataParserFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[36/64] Compiling YNetwork JWTTokenRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[37/64] Compiling YNetwork MultipartBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[38/64] Compiling YNetwork MultipartFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[39/64] Compiling YNetwork MultipartRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[40/64] 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
^
[41/64] 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
^
[42/64] Compiling YNetwork NetworkManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[43/64] Compiling YNetwork NetworkManagerConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[44/64] Compiling YNetwork FileDownloadProgress.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[45/64] Compiling YNetwork FileProgress.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[46/64] 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
^
[47/64] 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
^
[48/64] Compiling YNetwork EmptyNetworkResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[49/64] Compiling YNetwork HttpError.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[50/64] Compiling YNetwork JWTClaim.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[51/64] Compiling YNetwork JWTToken.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[52/64] 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
^
[53/64] Compiling YNetwork URLProtocolStub.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[54/64] 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
^
[55/64] Compiling YNetwork NetworkEngineConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[56/64] 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
^
[57/64] 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
^
[58/64] Compiling YNetwork ImageContentType.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[59/64] Compiling YNetwork JWTDecodeError.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[60/64] Compiling YNetwork MultipartElement.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[61/64] Compiling YNetwork NetworkError.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[62/64] Compiling YNetwork RequestContentType.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[63/64] Compiling YNetwork ResponseContentType.swift
/Users/admin/builder/spi-builder-workspace/Sources/YNetwork/Enums/UIImageDataType.swift:9:8: error: no such module 'UIKit'
import UIKit
^
[64/64] Compiling YNetwork SerializationError.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.9 macosSpm